lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | Project files to build libpng using Borland C++ Builder v5.0 |
| 2 | |
| 3 | To use this dll, you will need to: |
| 4 | |
| 5 | 1) add the following conditional defines to your project |
| 6 | |
| 7 | PNG_USE_DLL |
| 8 | Z_PREFIX |
| 9 | |
| 10 | 2) add the paths to png.h and zlib.h to your include path |
| 11 | |
| 12 | 3) add libpng.lib or libpngstat.lib to the project. |
| 13 | |
| 14 | If you are using libpng.dll, libpng.dll and zlib.dll will be required for the code to run. |
| 15 | |
| 16 | Alternatively, the libpng.dll can be built using zlibstat.lib to produce one dll containing both the zlib and png code. |
| 17 | |
| 18 | See the libpng documentation for instructions on how to use the code. |
| 19 | |