OptiPNG is a PNG optimizer that recompresses image files to a smaller
size, without losing any information. This program also converts external
formats (BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG integrity
checks and corrections.
The idea has been inspired from
pngcrush (http://pmt.sourceforge.net/pngcrush),
and is explained in detail in the PNG-Tech article
"A guide to PNG optimization".
The implementation is carried forward in OptiPNG, which offers a
faster execution per trial, and a wider search space.
Latest version: OptiPNG 0.5.5 (released on 28 January 2007).
| The source code tarball: | optipng-0.5.5.tar.gz |
| The source code zip archive: | optipng-0.5.5.zip |
| The Windows executable: | optipng-0.5.5-exe.zip |
The documentation is also included in the downloadable archives.
The OptiPNG source distribution contains modified versions of zlib-1.2.3 and libpng-1.2.15, but the program works with the original libraries as well. These libraries are available at their home sites. (Comments and complaints about these modified libraries should be addressed to the OptiPNG author, not to the authors or to the maintainers of the original libraries.)
We are, of course, greatly concerned with the correctness of this program (running on all platforms, not just on Unix!), and all the code and the supporting libraries have been extensively tested. However, some Unix package maintainers and system administrators prefer to link the code to the system-supplied zlib and libpng, which are constantly updated with the latest and greatest versions and security patches.
We are, therefore, offering the possibility to build the program such that it
uses the system-supplied libraries. Should you wish to do so, please use the
unix-secure.mak makefile. Be aware that, by not using the bundled
(and tailored) zlib, you will lose a tiny fraction of the compression
ratio.