robsite

pngquant

Commandline-Tool zum optimieren von PNGs. Nimmt 24-Bit PNGs und generiert daraus 8-Bit PNGs, wobei der Alphakanal beibehalten wird. Sieht durch clevere Farbreduktions- und Dithering-Algorithmen fast aus wie das Original, ist aber bis zu 70% kleiner.

Ein Beispiel Anhand des pngquant-Logos mit Schatten. Einmal als PNG-24 und PNG-8 (mit diesen Settings) , gespeichert mit Photoshop CS3s "Save for Web & Devices"-Funktion und einmal mit pngquant optimiert, ausgehend vom PNG-24:

pngquant-logo_photoshop_png24 Photoshop PNG-24 - 38.4 KB
pngquant-logo_photoshop_png8 Photoshop PNG-8 - 12.8 KB
pngquant-logo_pngquant_png8 pngquant PNG-8 - 14.4 KB
· png, tool, webdev ·
Mastodon