News for hackers. Stuff that matters.
Re:Image Dithering: Eleven Algorithms and Source Code by rabidsnail on Sunday June 12, 2016 @03:03PM (#11889696)
Also if you don't know what your target palette is you can do k-means clustering over colorspace, and the palette is the cluster centers (each point you're giving to k-means is an <r,g,b> or <h,s,v> vector).
Re:Image Dithering: Eleven Algorithms and Source Code by tixzdk on Sunday June 12, 2016 @03:09PM (#11889728)
K-medians or k-medoids yield more pleasing results in my experience