6 ms·
In my own experience playing with dithering, generating a palette is often harder than the dithering itself.
by snvzz 1y ago
In my own experience playing with dithering, generating a palette is often harder than the dithering itself.
- kragen 1y agoHeckbert's median-cut algorithm usually does a great job. See https://web.cs.wpi.edu/~matt/courses/cs563/talks/color_quant/CQindex.html https://web.cs.wpi.edu/~matt/courses/cs563/talks/color_quant.... There's probably something improved since then, though.