Preferences

lancefisher parent
That's really cool. I didn't realize you could do a lossless 24-bit palette with PNG.

jmaygarden
A PNG is pretty much a zlib compressed bitmap.
That's not true. PNG has some filters that pre-compress the image before sending it to zlib.
I'd say that still falls under the realm of being "pretty much a zlib compressed bitmap", no?
warfangle
One of the few truly interesting articles on Smashing Magazine about optimizing pngs for their filters. It shows that yes, the filters are really a huge part of how pngs get compressed:

http://www.smashingmagazine.com/2009/07/15/clever-png-optimi...

No, I wouldn't say that. Those filters make a huge difference to the compression ratio!

The png optimizers you see (optipng, pngcrush, etc)? What they do is carefully pick the optimum filters to get the best file size. So I'd say those filters were the most important part of the compression.

jmaygarden
You are correct. I almost qualified the statement as such, but figured "pretty much" was good enough to get my point across in a hurry. My point being that zlib compressed 24-bit RGB values in a PNG is normal. It's a different approach than lossy DCT quantization used in JPEG.

This item has no comments currently.