[magick-users] Reducing number of Colo(u)rs

Fred Weinhaus fmw at alink.net
Tue Apr 28 10:33:57 PDT 2009


It may not make any difference, but try +dither rather than -dither none



>I run the following command on my JPEG;
>
>
>
>convert "Water lilies.jpg" -quantize YIQ -dither None -colors 3
>"Water_Lilies_3_QYIQ_NO.jpg"
>
>
>
>Expecting the "colors 3" parameters to reduce the image to just three
>colours.
>
>
>
>When I read the image pixel by pixel and count and aggregate the RGBs I find
>that there a lot more than three RGB combinations. Though there are
>predominately three larger RGB combinations.
>
>
>
>What am I doing wrong?
>
>
>
>Thanks
>
>
>
>Roger Lee


More information about the Magick-users mailing list