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.