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):
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
RHEL 7 builds display the expected behaviour (tested on ImageMagick-126.96.36.199-10.el7.x86_64).
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:
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.