News for hackers. Stuff that matters.
Re:The PNG image file format is now more popular than GIF by ahoge on Friday February 01, 2013 @02:42PM (#5152933)
256 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.

Re:The PNG image file format is now more popular than GIF by pornel on Friday February 01, 2013 @04:31PM (#5153617)
Parallax 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