TPNGImage help

TPNGImage

Installing the component

The component is installed as any other common delphi component.
  1. First of all, copy (unzip) all the files to any directory. The obj sub-directory is necessary to install the component.
  2. Run a Borland Delphi instance
  3. Go to the menu Component and select Install Component item as shown in the picture bellow:
  4. In the "Unit file name:" field, click on "Browse..." and point to the pngimage.pas file.
    By default Delphi will install in the "Borland User Components" package, it might be changed using "Package file name" field or "Into new package" page.
    Click on Ok
  5. A confirmation dialog will be shown asking if you want to build the package (name might change depending on Delphi version). Click on "Yes".
  6. You have just installed PngImage, now close the package window (Don't forget to put "Yes" when it ask if you want to save the package).


You may also want  to add the unit to the search path.

  1. This time, go to the "Tools" menu and select the item "Enviroment Options".
  2. Click on the "Library" page.
  3. On the field "Library path" add a ";" followed by the unit directory. For instance ";c:\png".
  4. Click on the ok button.