14 ms·
We do have lossy RGBA that works in all browsers since IE7 (and degrades well in IE4+): http://pngquant.org http://pngquant.org http://tinypng.org http://tinyp
by pornel 14y ago
We do have lossy RGBA that works in all browsers since IE7 (and degrades well in IE4+):
http://pngquant.org http://pngquant.org http://tinypng.org http://tinypng.org
And while it's not as good as WebP, it's 20% of the filesize you get from Photoshop.
http://pngmini.com/vs-webp/ http://pngmini.com/vs-webp/
- ahoge 14y ago256 colors (well, 256 RGBA tuples) aren't always enough. Just look at the kind of images used by those heavy parallax websites. Larger photo-based images will always look terrible, no matter which kind of dithering is used.
- pornel 14y agoParallax websites are actually easy, because images are divided into many sprites/layers, so there's many palettes to work with. I've got a pretty large collection of PNGs to test quantisation on and 68% of them end up converted in great quality, 89% are within acceptable range. It's about double of what you can get with Fireworks. And for images that can't absolutely fit in 256-colors there's a hack for lossy true-color PNGs that can reduce size by 20-40%: https://github.com/pornel/mediancut-posterizer https://github.com/pornel/mediancut-posterizer