Hacker GitHub

← All repos

leeoniya/RgbQuant.js

View on GitHub ↗ ★ 477 JavaScript

color quantization lib

13 mentions on Hacker News by 1 person: 1 story, 12 comments · first 2013-07-22 · latest 2025-06-11

Mentions per year 13 mentions · busiest year 2013 (4)
20082026
  1. …it has an artificial single pixel line at the top with a ton of colors to trip quantizers up. [1] https://github.com/leeoniya/RgbQuant.js/ [2] https://github.com/leeoniya/RgbQuant.js/blob/master/demo/img...
    comment by leeoniya · 2025-06-11 · in Show HN: High End Color Quantizer
  2. …prefer gifs (e.g. pixel art). i've written a couple libs that help record canvas pixel art to gifs. https://github.com/leeoniya/RgbQuant.js/ https://github.com/leeoniya/GIFter.js btw, always compress with https://www.lcdf.org/gifsicle/…
    comment by leeoniya · 2019-10-26 · in Hey Ho, GIFs Must Go (1999)
  3. …palettes and temporal dithering (shameless plug) RgbQuant [1] does the former, too :) [1] https://github.com/leeoniya/RgbQuant.js
  4. i, too have a lib in this space (color quantization): https://github.com/leeoniya/RgbQuant.js playground: http://leeoniya.github.io/RgbQuant.js/demo/
    comment by leeoniya · 2017-04-27 · in Show HN: Get colour palettes from pictures
  5. …how my quantizer does: full-color, undithered, floyed-dithered: http://imgur.com/a/lrLTd#0 repo: https://github.com/leeoniya/RgbQuant.js demos: http://o-0.me/RgbQuant/ this image is actually a pretty poor example of quantization, it's too…
    comment by leeoniya · 2015-03-16 · in High quality GIF with FFmpeg
  6. …good results with a dithering kernel selected. repo here [2], btw. [1] http://o-0.me/RgbQuant/ [2] https://github.com/leeoniya/RgbQuant.js
    comment by leeoniya · 2014-12-28 · in MozJPEG 3.0
  7. shameless plug, if you need to do color reduction for images: play: http://o-0.me/RgbQuant/ code: https://github.com/leeoniya/RgbQuant.js
  8. i use it myself in a couple projects. mainly my quantizer lib [1] [1] https://github.com/leeoniya/RgbQuant.js
    comment by leeoniya · 2014-11-08 · in Basic colour theory for programmers
  9. shameless self-promotion: demo: http://o-0.me/RgbQuant/ repo: https://github.com/leeoniya/RgbQuant.js * doesnt support alpha channel or dithering (yet)
    comment by leeoniya · 2014-01-13 · in Pngquant – Lossy PNG compressor
  10. also RgbQuant :) demo: http://o-0.me/RgbQuant/ repo: https://github.com/leeoniya/RgbQuant.js
    comment by leeoniya · 2013-12-24 · in Advanced Image Optimization Tricks
  11. …output palette size from 256 to 16 or whatever, try it here: demo: http://o-0.me/RgbQuant/ repo: https://github.com/leeoniya/RgbQuant.js
  12. repo's here: https://github.com/leeoniya/RgbQuant.js
    comment by leeoniya · 2013-07-22 · in Show HN: RgbQuant.js