possible bug compare IM 6.9.4.6 Q16 Mac OSX

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: 25971
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug compare IM 6.9.4.6 Q16 Mac OSX

Post by fmw42 »

compare does not seem to turn alpha off when using the following.

Code: Select all

compare -metric rmse -fuzz 5% -lowlight-color none People.jpg People2.jpg -alpha off people_compare5.png
( I have also tried putting -alpha off before the input images, but that did not work either )

Code: Select all

identify -verbose people_compare5.png

Code: Select all

Image: people_compare5.png
  Format: PNG (Portable Network Graphics)
  Mime type: image/png
  Class: DirectClass
  Geometry: 500x500+0+0
  Resolution: 28.34x28.34
  Print size: 17.6429x17.6429
  Units: PixelsPerCentimeter
  Type: TrueColorAlpha
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
    alpha: 1-bit
  Channel statistics:
    Pixels: 250000
    Red:
      min: 0 (0)
      max: 255 (1)
      mean: 197.134 (0.773075)
      standard deviation: 80.8914 (0.317221)
      kurtosis: 0.213007
      skewness: -1.30378
      entropy: 0.562481
    Green:
      min: 1 (0.00392157)
      max: 255 (1)
      mean: 194.273 (0.761855)
      standard deviation: 85.7685 (0.336347)
      kurtosis: -0.394662
      skewness: -1.11982
      entropy: 0.530233
    Blue:
      min: 9 (0.0352941)
      max: 255 (1)
      mean: 203.67 (0.798705)
      standard deviation: 79.727 (0.312655)
      kurtosis: 0.0309241
      skewness: -1.3092
      entropy: 0.521523
    Alpha:
      min: 255 (1)
      max: 255 (1)
      mean: 255 (1)
      standard deviation: 0 (0)
      kurtosis: 0
      skewness: 0
      entropy: 0
For images, see
viewtopic.php?f=2&t=29827#p134210 and viewtopic.php?f=1&t=29823

User avatar
magick
Site Admin
Posts: 11131
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug compare IM 6.9.4.6 Q16 Mac OSX

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.

Post Reply