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

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to