PNG Source Code and Libraries
For those of you who like to go the do-it-yourself route, here are the tools
to make your PNG code go (some of which are provided with ready-to-go
executables, notably gif2png). If the primary
SwRI ftp site is busy, try
UUNET (central US), or
HENSA (UK) instead.
(This page was formerly called Code from the PNG Development Group.
Much of the code was indeed written by members of the Group, but the collection
below has evolved into something more general now.)
See also the application toolkits page for
PNG-supporting libraries, DLLs and Java classes that do not include source
code.
Latest releases:
libpng 1.0.3
[Y2K]
zlib 1.1.3
[Y2K]
Libraries:
Converters:
- pnmtopng-2.37.2.tar.gz [Alexander
Lehmann, Willem van
Schaik] - the official NetPBM PNG converters (pnmtopng, pngtopnm),
C source code, version 2.37.2; requires
netpbm libraries, libpng and zlib; 28k. (For
the sake of search commands, we'll mention pngtoppm and
ppmtopng here, too. Version 2.37.2 is Greg's second semi-official
release.)
- pnmtopng, `pamquant' with alpha-channel support [Greg Roelofs] - unofficial NetPBM
extensions to support a piped alpha channel; in particular, a full
32-bit RGBA PNG can be quantized to an 8-bit RGBA-palette PNG
- pngstuff-linux-x86-libc5.tgz - unofficial Linux x86 executables for
pnmtopng package; provided by Dave Flater; 107k. (Also includes gif2png.)
- gif2png-0.6.zip [Alexander Lehmann] - the official GIF-to-PNG converter, C source
code, version 0.6 (very stable!); requires libpng and zlib;
22k
- gif2pngx-0.6a.zip - the official GIF-to-PNG converter, DOS
executables; 137k
- gif2png-0.6.lha - unofficial Amiga executables for GIF-to-PNG
converter; 403k.
(Click here
if link breaks.)
- pngstuff-linux-x86-libc5.tgz - unofficial Linux x86 executables for
GIF-to-PNG converter; provided by Dave Flater; 107k. (Also includes pnmtopng converters.)
- g2p_os2.zip - unofficial OS/2 executables for GIF-to-PNG converter,
version 0.5; ported by Network Cybernetics Corporation (includes static libpng and
zlib libraries)
- pngUtilAppls.sit.hqx - unofficial Macintosh executables for
GIF-to-PNG converter; ported by
Mark Fleming; 296k.
(Also includes ptot, pngcheck and libpng's minimal
pngtest;
sources available as well [831k].)
- see also The Exorcist on the converters
page (Windows 9x/NT graphical port with drag and drop support)
- tiff2png-0.6.tar.gz [Willem van
Schaik] - the semi-official TIFF-to-PNG converter, C source code;
requires libtiff, libpng and zlib; 130k (README for version 0.6)
- ptot.tar.gz [Lee Daniel
Crocker] - the semi-official PNG-to-TIFF converter, C source code;
stand-alone (does not require any other libraries); 32k. (See
pngUtilAppls.sit.hqx in gif2png section above for Macintosh
version.)
- pngmeta-1.6.tar.gz [Dave
Beckett] - the official PNG meta-information extractor, ANSI C
source code, version 1.6; requires libpng 0.85 and zlib
0.95 or later; 8k. (This ``converts'' from PNG to text; that is, it
extracts information from the tEXt and zTXt chunks--e.g., for indexing
by WWW search engines.)
Testers:
- pngcheck-zlib.zip [Alexander
Lehmann, Andreas Dilger, Greg Roelofs
and others] - the official PNG integrity tester, C source code, with
semi-official zlib and MNG extensions (version 1.99-grr0); stand-alone
(requires neither libraries nor graphics capability, although can
be linked with zlib for enhanced functionality); 21k.
- pngcheck-linux-libc5.zip - official Linux x86 (libc5) executables
for PNG tester, version 1.99-grr0; 28k.
- pngcheck-win32.zip - official Windows 9x/NT executables for
PNG tester, version 1.99-grr0; statically linked; 58k.
- pngcheck-win32-dyn.zip - official Windows 9x/NT executables for
PNG tester, version 1.99-grr0; dynamically linked (includes zlib.dll,
version 1.1.3); 74k.
- pngcheck-1.97.lha - unofficial Amiga executables for PNG tester;
24K.
(Click here
if link breaks.)
- (See pngUtilAppls.sit.hqx in gif2png section above for Macintosh
version.)
Here are the other PNG-related pages at this site:
Last modified 1 May 1999
by newt@pobox.com , you betcha.
Copyright © 1995-1999 Greg Roelofs.