Bug 1122503

Summary: compare -metric AE always prints '65535 dB'
Product: Red Hat Enterprise Linux 5 Reporter: Martin Frodl <mfrodl>
Component: ImageMagickAssignee: Jan Horak <jhorak>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.11   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-18 22:05:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Frodl 2014-07-23 11:56:57 UTC
Description of problem:

According to upstream documentation, 'compare -metric AE <image1> <image2> <output>' should print the number of pixels in which <image1> and <image2> differ. On RHEL 5, however, the output is always '65535 dB' if the two images differ, '0 dB' otherwise.

Version-Release number of selected component (if applicable):
ImageMagick-6.2.8.0-15.el5_8

How reproducible:
100%

Steps to Reproduce:
1. wget http://upload.wikimedia.org/wikipedia/commons/a/a2/Pixel-white.png
2. wget http://upload.wikimedia.org/wikipedia/en/4/45/One_black_Pixel.png
3. compare -metric AE Pixel-white.png One_black_Pixel.png /dev/null

Actual results:
65535 dB
1,1,PNG

Expected results:
1

Additional info:
RHEL 7 builds display the expected behaviour (tested on ImageMagick-6.7.8.9-10.el7.x86_64).

Comment 1 Chris Williams 2017-04-18 22:05:06 UTC
Red Hat Enterprise Linux 5 shipped it's last minor release, 5.11, on September 14th, 2014. On March 31st, 2017 RHEL 5 exited Production Phase 3 and entered Extended Life Phase. For RHEL releases in the Extended Life Phase, Red Hat  will provide limited ongoing technical support. No bug fixes, security fixes, hardware enablement or root-cause analysis will be available during this phase, and support will be provided on existing installations only.  If the customer purchases the Extended Life-cycle Support (ELS), certain critical-impact security fixes and selected urgent priority bug fixes for the last minor release will be provided.  For more details please consult the Red Hat Enterprise Linux Life Cycle Page:
https://access.redhat.com/support/policy/updates/errata

This BZ does not appear to meet ELS criteria so is being closed WONTFIX. If this BZ is critical for your environment and you have an Extended Life-cycle Support Add-on entitlement, please open a case in the Red Hat Customer Portal, https://access.redhat.com ,provide a thorough business justification and ask that the BZ be re-opened for consideration of an errata. Please note, only certain critical-impact security fixes and selected urgent priority bug fixes for the last minor release can be considered.