gif2png is a simple command-line utility to convert images from GIF to PNG format. It automatically preserves transparency, interlacing and text comments, and it can do multiple images in one command (e.g., gif2png *.gif). The distribution also includes a web2png script that can be used to convert an entire web tree; it calls gif2png to do image conversions, then patches IMG SRC tags correctly in referring pages.
pngcrush is an excellent batch-mode compression utility for PNG images. Depending on the application that created the original PNGs, it can improve the file size anywhere from a few percent to 40% or more (completely losslessly). The utility also allows specified PNG chunks (e.g. text comments) to be inserted or deleted, and it can fix incorrect gamma info written by Photoshop 5.0 as well as the erroneous iCCP chunk written by Photoshop 5.5.
This is a simple command-line utilitiy to convert images from TIFF to PNG format. It is primarily useful in dealing with TIFF images that contain alpha channels (transparency information), since the NetPBM suite is (currently) ill-suited for such conversions. A few test images are included.
zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any computer hardware and operating system. The zlib data format is itself portable across platforms. Unlike the LZW compression method used in Unix compress(1), the compression method currently used in zlib essentially never expands the data. (LZW can double or triple the file size in extreme cases.) zlib's memory footprint is also independent of the input data and can be reduced, if necessary, at some cost in compression.