possible bug in identify -verbose IM 6.5.3-2

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

possible bug in identify -verbose IM 6.5.3-2

Post by fmw42 »

IM 6.5.3-2 Q16 Mac OSX Tiger.

I think there may be a bug in reporting the Overall Stats for min of an image. Here is the test image. see colored highlight values for each channel min stats, none of which are zero, and overall min stats, which is zero. Is this a bug?

Image

identify -verbose redhat.jpg
Image: redhat.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 254x255+0+0
Resolution: 72x72
Print size: 3.52778x3.54167
Units: PixelsPerInch
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
red:
min: 25 (0.0980392)
max: 255 (1)
mean: 153.68 (0.602665)
standard deviation: 28.2394 (0.110743)
kurtosis: 0.597401
skewness: 0.0365255
green:
min: 25 (0.0980392)
max: 252 (0.988235)
mean: 107.591 (0.421927)
standard deviation: 36.7971 (0.144302)
kurtosis: -0.611253
skewness: 0.483242
blue:
min: 22 (0.0862745)
max: 247 (0.968627)
mean: 107.182 (0.420321)
standard deviation: 33.435 (0.131118)
kurtosis: 0.475469
skewness: 0.834276
Image statistics:
OverAll:
min: 0 (0)
max: 255 (1)
mean: 92.1132 (0.361228)
standard deviation: 63.2679 (0.248109)
kurtosis: -1.08617
skewness: -0.221413
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug in identify -verbose IM 6.5.3-2

Post by magick »

We can reproduce the problem and have a patch in ImageMagick 6.5.3-3 Beta available sometime tomorrow. Thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug in identify -verbose IM 6.5.3-2

Post by fmw42 »

thanks, not urgent for me at this time, I just happened across it as I was checking something.
Post Reply