I have found a bug where when you convert an icon file that has multiple icons inside, some of the images will be converted incorrectly. I am using ImageMagick 6.5.5.9 on Windows XP Pro SP3.
Some sample images are available to download below.
http://www.mediafire.com/file/yuzoz3t0i ... images.zip
Preview of files:
http://www.mediafire.com/?sharekey=6954 ... 8045d6ed82
Icon to png bug
Re: Icon to png bug
We require that bug reports are atomic. Post a URL to one icon image and the correct rendering of the image. Also post exactly how ImageMagick is incorrectly rendering the image. We will verify that a problem exists and fix it. Its possible that with the bug fix all your other icon images will then render correctly. If not we will move onto the next bug.
Re: Icon to png bug
Original Icon File:
http://answers.yahoo.com/favicon.ico
Correct Image (1st icon in the ico file):
testicon-0.png
Incorrect Images (2nd to 4th icons in the ico file):
testicon-1.png
testicon-2.png
testicon-3.png
I am just using the following command.
Also, the incorrect images will open partially correct in Windows Paint and Internet Explorer 8. The problem is that the transparent parts of the image are black.
The images will look messed up in applications like Windows Picture and Fax Viewer, Paint.Net, and Firefox 3.5.
http://answers.yahoo.com/favicon.ico
Correct Image (1st icon in the ico file):
testicon-0.png
Incorrect Images (2nd to 4th icons in the ico file):
testicon-1.png
testicon-2.png
testicon-3.png
I am just using the following command.
Code: Select all
convert.exe C:\favicon.ico C:\testicon.png
The images will look messed up in applications like Windows Picture and Fax Viewer, Paint.Net, and Firefox 3.5.
Re: Icon to png bug
We can reproduce the problem you posted. We will have a patch within a day or two. Thanks.