still potential bug in verbose info in IM 6.4.3-10

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

still potential bug in verbose info in IM 6.4.3-10

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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)
...
Post Reply