77 points · by jdorfman · 13y ago · 22 comments
Granted, even at 11 kb the image looks really good and there are no visible artifacts but when you put the original image and the lossy version side-by-side, you can see that some tones are slightly off and gradients/shades are slightly different.
The same image can be made into a 13kb PNG (8-bit + imageoptim), without any complex trickery and 99.5% browser support: http://f.cl.ly/items/303H1k2c412s1o0m1b2m/webp-8.png
cwebp -lossless -pass 10 -m 6 MaxCDN-WebP.png -o image.webp
Still that's not a bad compression improvement given that 'pngcrush -brute' failed to improve compression and pngout managed only to bring it down to 50.1kb
With JNG those massive parallax websites could be ~1MB instead of ~5MB.
But lossy + alpha was a good idea then and it still is now.
What utter garbage. Does CDN Connect want us to believe browsers don't cache images? Sure, that's a savings.. of about 41kb total. Not 41kb per page, just 41kb overall, because my browser's only going to download the image once.
TBL wrote about this in 1998: http://www.w3.org/Provider/Style/URI.html#remove
(That might be called a browser bug, actually; it'd sure be nice if browsers on these OSes could take the observed media type and tack on an extension to extensionless files on Save As to ensure they'll be viewed by the OS to have that same media type. Or it might be called an OS bug: why the heck don't filesystems have a required media-type metadata field for files yet!? ;)
If you are not using pngq/pngquant and the likes to compress alpha png I advise you to try them out.
WebP beat pngquant by a factor of 2.36 (I hope to release the full report and data set soon.)