But the first example on that page does not seem to show the number of colors:The information returned includes the image number, ... the number of colors in the image...
I don't see the number of colors in the following example with the -verbose option either (it prints image depth but not the number of actually used colors).$magick> identify rose.jpg
rose.jpg JPEG 640x480 DirectClass 87kb 0.050u 0:01
The man page for identify says that printing the number of colors in the image is off by default and says to use "-define unique=true" option. When I do "identify -define unique=true image.tiff", I get
Am I missing something? Is it a bug that should be reported? How do I get the number of unique colors actually used and, if possible, their RGB values?image.tiff TIFF 5096x6397 5096x6397+0+0 8-bit DirectClass 5.638MiB 0.000u 0:00.000
$ convert -version
Version: ImageMagick 6.5.7-8 2010-12-02 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features: OpenMP