[Pkg-gmagick-im-team] Bug#534159: imagemagick: fails to load MS Windows icons with compressed PNG elements

Paul Wise pabs at debian.org
Mon Jun 22 07:09:27 UTC 2009


Package: imagemagick
Severity: normal
Forwarded: magick-bugs at imagemagick.org
Version: 7:6.5.1.0-1.1

The attached icon fails to load in imagemagick but works in gimp:

$ identify warzone2100.ico
identify: Improper image header `warzone2100.ico' @ icon.c/ReadICONImage/262.

When I re-save it in gimp but turn off PNG compression it works:

$ identify warzone2100.ico 
warzone2100.ico[0] ICO 32x32 32x32+0+0 8-bit DirectClass 283kb 
warzone2100.ico[1] ICO 16x16 16x16+0+0 8-bit DirectClass 283kb 
warzone2100.ico[2] ICO 32x32 32x32+0+0 8-bit DirectClass 283kb 
warzone2100.ico[3] ICO 16x16 16x16+0+0 8-bit DirectClass 283kb 
warzone2100.ico[4] ICO 256x256 256x256+0+0 8-bit DirectClass 283kb 
warzone2100.ico[5] ICO 48x48 48x48+0+0 8-bit DirectClass 283kb 
warzone2100.ico[6] ICO 32x32 32x32+0+0 8-bit DirectClass 283kb 
warzone2100.ico[7] ICO 16x16 16x16+0+0 8-bit DirectClass 283kb 

If I then re-save it with the one compressed PNG it fails again:

$ identify warzone2100.ico
identify: Improper image header `warzone2100.ico' @ icon.c/ReadICONImage/262.

I've forwarded this to the upstream bugs list but it hasn't yet appeared
in the archives.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warzone2100.ico
Type: image/vnd.microsoft.icon
Size: 147721 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20090622/df8a742d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20090622/df8a742d/attachment-0001.pgp>


More information about the Pkg-gmagick-im-team mailing list