ImageMagick 6.2.8.0 on CentOS 5.5 can't convert GIF to PNG

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
univ
Posts: 1
Joined: 2011-01-19T14:54:10-07:00
Authentication code: 8675308

ImageMagick 6.2.8.0 on CentOS 5.5 can't convert GIF to PNG

Post by univ »

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/re ... -im628.png

The output PNG with ImageMagick 4.2.9 on the same machine: http://truemetal.org/universe/im-bug/re ... -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/re ... -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
Post Reply