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.
OS: Windows 8 Enterprise Magick Version: 6.8.9 Bug: When calculating PSNR between two images, the PSNR differs depending on the format of the files (but the same content). Steps to reproduce:
Download reference images: http://www.filedropper.com/refimages
I got some more debug info:
This is due to the 1 bit alpha channel in png files. GetMeanSquaredDistortion@compare.c might be calculated wrongly in some way. When I commented out the calculations for alpha channel as well as harcoded
Can you please explain what this fix means?
I compared images successfully with 6.8.9.5, but with latest version it returns error "image morphology differs". What should I do about it?
update: I updated not to latest but to 6.8.9.7 since it is last available version via brew for mac osx.
and a full error code is: compare: image morphology differs `<path to image>' @ error/compare.c/CompareImageChannels/173
I found it, it was because of alpha channel which was present in one image but absent in another. After adding option "-alpha Off", it started working again.