The tool I used is called Pngcrush, a free and open source optimizer for PNG (Portable Network Graphics) files. It can be run from a commandline in an MSDOS window, or from a UNIX or LINUX commandline. Its main purpose is to reduce the size of the PNG IDAT datastream by trying various compression levels an PNG filter methods. It also can be used to remove unwanted ancillary chunks, or to add certain chunks including gAMA, tRNS, iCCP, and textual chunks.
sudo apt-get install pngcrush
Using Pngcrush
To compress a single image:
pngcrush -brute -e ".compressed.png" image.png
“-e” tells Pngcrush to append the “.compressed.png” name to the initial image name.
To compress all the PNG files in a folder and replace the initial images with the resulted compressed images (that’s what the “-d” option does):
pngcrush -brute -d "/my/images" *.png
To see everything that Pngcrush can do, type (in Linux):
pngcrush --helpor:man pngcrush
Download PNGCrush for Windows and source files. | via: simplehelp
© www.webupd8.org 2009. | What’s New on the World Wide Web
Popularity: 1% [?]
