Comment on Dithering – Part 1parentComments−kragen10moFloyd–Steinberg is pretty great when your palette has reasonably-close colors.−snvzz10moIn my own experience playing with dithering, generating a palette is often harder than the dithering itself.−kragen10moHeckbert's median-cut algorithm usually does a great job. See https://web.cs.wpi.edu/~matt/courses/cs563/talks/color_quant.... There's probably something improved since then, though.−snvzz10moThat's cool, and resembles my own approach, which I'll reevaluate and polish now :)−kragen10moDelighted to help! I've never implemented it myself.
Comments
Floyd–Steinberg is pretty great when your palette has reasonably-close colors.
In my own experience playing with dithering, generating a palette is often harder than the dithering itself.
Heckbert's median-cut algorithm usually does a great job. See https://web.cs.wpi.edu/~matt/courses/cs563/talks/color_quant.... There's probably something improved since then, though.
That's cool, and resembles my own approach, which I'll reevaluate and polish now :)
Delighted to help! I've never implemented it myself.