Color Quantization Not Reducing To Proper Amount
Posted: 2019-02-10T22:18:34-07:00
Hello, I use on this image:
This code:
This is meant to result in that it gets quantized to 15 colors, using no dither, and using XYZ colorspace as the basis for quantizing.
Here is the result:
However, you can count that there are only 11 unique colors in this image. Did I do something wrong? Because if not, this seems like a bug since this image had 22 colors, so it should have been possible to reduce it to 15 colors.
This code:
Code: Select all
magick convert ganondorfcolors.png -quantize XYZ +dither -colors 15 -posterize 15 ganondorfcolors2.png
Here is the result:
However, you can count that there are only 11 unique colors in this image. Did I do something wrong? Because if not, this seems like a bug since this image had 22 colors, so it should have been possible to reduce it to 15 colors.