Re:Show HN: Smozzy (for Android/T-Mobile) - browse the web w...
by jmaygarden on Friday September 09, 2011 @02:16AM
(#2977073)
A PNG is pretty much a zlib compressed bitmap.
[ Parent
| on HN ]
Re:Show HN: Smozzy (for Android/T-Mobile) - browse the web w...
by ars on Friday September 09, 2011 @02:45AM
(#2977146)
That's not true. PNG has some filters that pre-compress the image before sending it to zlib.
Re:Show HN: Smozzy (for Android/T-Mobile) - browse the web w...
by leek on Friday September 09, 2011 @04:28AM
(#2977379)
I'd say that still falls under the realm of being "pretty much a zlib compressed bitmap", no?
Re:Show HN: Smozzy (for Android/T-Mobile) - browse the web w...
by warfangle on Saturday September 10, 2011 @11:54AM
(#2981760)
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...
Re:Show HN: Smozzy (for Android/T-Mobile) - browse the web w...
by ars on Friday September 09, 2011 @04:47AM
(#2977406)
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.
Re:Show HN: Smozzy (for Android/T-Mobile) - browse the web w...
by jmaygarden on Monday September 19, 2011 @01:17PM
(#3014351)
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.