Search found 3 matches

by Evgeny
2011-01-31T14:39:59-07:00
Forum: Users
Topic: How to find the number of unique colors in an image?
Replies: 7
Views: 27357

Re: How to find the number of unique colors in an image?

My version (6.5.7-8) does not have -unique option. It's good to know it was added.
by Evgeny
2011-01-31T13:16:51-07:00
Forum: Users
Topic: How to find the number of unique colors in an image?
Replies: 7
Views: 27357

Re: How to find the number of unique colors in an image?

Thanks for the prompt response. But see http://www.imagemagick.org/Usage/quantize/#extract and the section on -unique-colors Yes, this does indeed print the histogram. It also says that -verbose option does not print the histogram if the number of colors is > 1024. I wish, though, it would print ...
by Evgeny
2011-01-31T12:12:21-07:00
Forum: Users
Topic: How to find the number of unique colors in an image?
Replies: 7
Views: 27357

How to find the number of unique colors in an image?

The web page for identify says: The information returned includes the image number, ... the number of colors in the image... But the first example on that page does not seem to show the number of colors: $magick> identify rose.jpg rose.jpg JPEG 640x480 DirectClass 87kb 0.050u 0:01 I don't see the ...