This project has moved. For the latest updates, please go here.

Extract main colors from an image

Sep 21, 2016 at 8:36 AM
How do I extract main colors form an image and then map to a color map?

convert original.jpg -dither None -map colors.bmp converted.bmp
convert converted.bmp -format %c histogram:info:-
Coordinator
Sep 21, 2016 at 4:04 PM
Your console command looks different from what you are asking. Do you want to get the primary colors of the image so you can get the colors.bmp file? Or do you just want to change your image to only the primary colors? How many colors do you want to use?