kornelski / pngquant

Lossy PNG compressor — pngquant command based on libimagequant library
https://pngquant.org
Other
5.25k stars 487 forks source link

Multi-scale Probabilistic Dithering? #341

Closed LynxTWO closed 5 years ago

LynxTWO commented 5 years ago

Came across this when looking for a way to avoid dithering and keep file-size to a minimum on problem images. Banding would look similar to the attached example, which is more natural to the human eye...

http://vigir.missouri.edu/~gdesouza/Research/Conference_CDs/IEEE_ICIP_2007/pdfs/0400397.pdf

banding

kornelski commented 5 years ago

That method is not applicable to compression of images. It's a post-processing method to be run after decompression, so pngquant can't do it. It'd have to be implemented in image viewers.