Hacker GitHub

← All repos

kornelski/mediancut-posterizer

View on GitHub ↗ ★ 254 C

Lossy PNG compressor for RGBA PNGs. Has two modes: lossy averaging filter (blurizer) that denoises the image and optimal posterization using Median Cut quantization to reduce number of unique colors in the image with minimal visual distortion

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2013-02-01 · latest 2014-12-29

Mentions per year 3 mentions · busiest year 2013 (2)
20082026
  1. …that blurs instead of dithering: https://speakerdeck.com/pornel/lossy-png-for-true-color-imag... ( https://github.com/pornel/mediancut-posterizer ). It's not as efficient as PNG8, but still better than nothing :)
    comment by pornel · 2014-12-29 · in MozJPEG 3.0
  2. …pick posterization levels more fitting the image: http://pngmini.com/lossypng.html#posterization ( https://github.com/pornel/mediancut-posterizer )
    comment by pornel · 2013-12-24 · in Advanced Image Optimization Tricks
  3. …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