Bug 671118

Summary: ImageMagick 6.2.8.0 on CentOS 5.5-64bit can't convert GIF to PNG
Product: Red Hat Enterprise Linux 5 Reporter: ms2
Component: ImageMagickAssignee: Jan Horak <jhorak>
Status: CLOSED WONTFIX QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: ms2, pm-rhel, ralph
Target Milestone: rcFlags: ms2: needinfo-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-03 11:36:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Original GIF image none

Description ms2 2011-01-20 12:36:42 UTC
Created attachment 474450 [details]
Original GIF image

I have reported this bug to CentOS but they recommended it to report to the upstream as well. http://bugs.centos.org/view.php?id=4707


Environment:
------------

Linux server 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 5.5 (Final)

Problem:
--------

ImageMagick from the CentOS 5.5 repository:

Name : ImageMagick
Version : 6.2.8.0
Release : 4.el5_5.3
Size : 3.3 M
Repo : updates

appears to have an issue with GIF to PNG conversion. The PNG that is produced as output is "screwed up". I have tried both the i386 and x86_64 package, the result is the same.

Effect:
-------

The original GIF: http://truemetal.org/universe/im-bug/be.gif
# file be.gif
be.gif: GIF image data, version 89a, 32 x 14

The output PNG with ImageMagick 6.2.8.0 from CentOS 5.5: http://truemetal.org/universe/im-bug/result-1-by-im628.png

The output PNG with ImageMagick 4.2.9 on the same machine: http://truemetal.org/universe/im-bug/result-2-by-im429.png

The output PNG with ImageMagick 6.6.7-1 RPM from imagemagick.org on the same machine: http://truemetal.org/universe/im-bug/result-3-by-im667.png

More info from "file" (they're all the same):

# file result-1-by-im628.png
result-1-by-im628.png: PNG image data, 32 x 14, 2-bit colormap, non-interlaced
# file result-2-by-im429.png
result-2-by-im429.png: PNG image data, 32 x 14, 2-bit colormap, non-interlaced
# file result-3-by-im667.png
result-3-by-im667.png: PNG image data, 32 x 14, 2-bit colormap, non-interlaced

How to repeat:
--------------

# /usr/bin/convert -geometry 32x14! be.gif output.png

Workaround:
-----------

Install ImageMagick 6.6.7-1 RPM from the official source:
http://www.imagemagick.org/script/binary-releases.php

Comment 2 RHEL Program Management 2014-03-07 12:13:17 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in the  last planned RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX. To request that Red Hat re-consider this request, please re-open the bugzilla via  appropriate support channels and provide additional business and/or technical details about its importance to you.

Comment 3 RHEL Program Management 2014-06-03 11:36:37 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).