Page 1 of 1

possible bug identify -unique IM 6.9.0.0 Q16 Mac OSX

Posted: 2014-12-06T12:06:29-07:00
by fmw42
According to the documentation for identify, it says:

-unique display image the number of unique colors in the image.


But when I try

Code: Select all

identify -verbose -unique rose:

all I see in the listing is "true" rather than the actual number of colors.

Artifacts:
filename: rose:
identify:unique-colors: true
verbose: true


I think it might be very beneficial to do the following:

Show the number of unique colors for each channel and for the overall image in the sections with channel and overall statistics. And/or add a string format or fx escape [unique-colors] that is channel sensitive.

Re: possible bug identify -unique IM 6.9.0.0 Q16 Mac OSX

Posted: 2014-12-06T13:36:25-07:00
by magick
We get:

Code: Select all

identify -verbose -unique rose: 
Image: ROSE
  Base filename: 
  Format: PPM (Portable pixmap format (color))
  Mime type: image/x-portable-pixmap
  Class: DirectClass
  Geometry: 70x46+0+0
  ...
      skewness: 1.45983
      entropy: 0.89247
  Colors: 3019
  Rendering intent: Perceptual
  Gamma: 0.454545
  ...
Notice the Colors: label.

Re: possible bug identify -unique IM 6.9.0.0 Q16 Mac OSX

Posted: 2014-12-06T13:47:58-07:00
by fmw42
Sorry, I missed that. But consider my suggestion as a future enhancement. Thanks