magick wrote:Turns out we don't need Anthony. I found another way to create uniform posterize colors without penalizing the existing color reduction algorithm.
Yes you can implement posterize with a uniform color map. BUT then posterize will not dither when no +dither option is given. That is something else I then reported as a bug! It wasn't posterize I was complaining about, but the color selection in ALL or ANY of the dithering methods not being RIGHT!
It is vary important that BOTH
+dither and
-dither methods do select the correct closest color, otherwise you are compromising the selection of those colors by the Color Quantization function. This was the problem I have been continually reporting, but you can only see it is a problem when you try to use the simple
+dither or
-dither none case.
Essentially but only using a fast 'near enough is good enough' type color selection, you end up never selecting some important colors that were discovered by the Color Quantization. For example the color quantizer finds say 250 color but then only 63 color set actually used!!!
To me that results in poor quality GIF images, and quality is important.
Perhaps we can offer both with some expert option to select between, OR find out why the current color tree is so slow in finding the actual 'closest color'. I myself do not understand the color tree.