Page 1 of 1

still potential bug in verbose info in IM 6.4.3-10

Posted: 2008-09-27T17:00:06-07:00
by fmw42
The potential problem reported in viewtopic.php?f=3&t=12133 appears to still exist in IM 6.4.3-10.

I hope I am not misunderstanding something about that image and the verbose info. If so, please clarify. I am puzzled about the Depth: 16/4-bit. Is that why the values are reported as red, green, blue => 15,6,0 and not as 65535,26214,0?

Re: still potential bug in verbose info in IM 6.4.3-10

Posted: 2008-09-27T17:36:15-07:00
by magick
We're using ImageMagick 6.4.4-0. We get

Code: Select all

-> convert -size 100x100 xc:"rgb(255,102,0)" test_color.png
-> identify -verbose test_color.png
Image: test_color.png
  Format: PNG (Portable Network Graphics)
  Class: DirectClass
  Geometry: 100x100+0+0
  Resolution: 72x72
  Print size: 1.38889x1.38889
  Units: Undefined
  Type: Palette
  Endianess: Undefined
  Colorspace: RGB
  Depth: 16/4-bit
  Channel depth:
    red: 1-bit
    green: 4-bit
    blue: 1-bit
  Channel statistics:
    red:
      min: 65535 (1)
      max: 65535 (1)
      mean: 65535 (1)
      standard deviation: 0 (0)
    green:
      min: 26214 (0.4)
      max: 26214 (0.4)
      mean: 26214 (0.4)
      standard deviation: 0 (0)
    blue:
      min: 0 (0)
      max: 0 (0)
      mean: 0 (0)
      standard deviation: 0 (0)
  Histogram:
     10000: (65535,26214,    0) #FFFF66660000 rgb(255,102,0)
...