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
20082026
-
…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 -
…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) -
…palettes and temporal dithering (shameless plug) RgbQuant [1] does the former, too :) [1] https://github.com/leeoniya/RgbQuant.js
comment by leeoniya · 2017-11-18 · in Highest-quality GIF encoder based on pngquant -
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 -
…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 -
…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 -
shameless plug, if you need to do color reduction for images: play: http://o-0.me/RgbQuant/ code: https://github.com/leeoniya/RgbQuant.js
comment by leeoniya · 2014-11-13 · in Chroma.js – A JavaScript library for color conversions and color scales -
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 -
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 -
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 -
…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
comment by leeoniya · 2013-12-14 · in Adaptive Backgrounds – A jQuery plugin for extracting dominant colors -
▲ 1
RgbQuant.js - a color quantizerstory by leeoniya · 2013-12-05 · 1 comment
-
repo's here: https://github.com/leeoniya/RgbQuant.js
comment by leeoniya · 2013-07-22 · in Show HN: RgbQuant.js