Re: [Gimp-developer] Floyd-Steinberg/GIF color optimization



Just a final word of thanks for the tips and suggestions relating to color
quantization. Today I successfully implemented in Jmol and JSmol
Floyd-Steinberg dithering and color quantization.* The implementation is
quite different from GIMP's in the end, but the results are nearly
identical. I'm sure GIMP is faster; I didn't aim for speed optimization,
just acceptable results.

Many  thanks.

Bob Hanson

* As far as I can see, at least in GIMP 2.8.0-RC1 app/core/imageconvert.c,
the code for median cut  is commented out, and what GIMP actually uses is
just the average of highest and lowest values in a box, not the median.
Unless I read that wrong, which is quite possible....
‚Äč


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]