When converting the following icon to PNG, the last 3 frames are incorrectly converted.
The transparency channel does not import correctly and they come out as black.
This works in version 6.2.4 I have installed in my Ubuntu machine, but doesn't work in version 6.3.6.
Here's the URL to an icon that fails to convert:
http://members.wolfram.com/flavios/magi ... studio.ico
Here's the command I'm using:
convert visualstudio.ico test.png.
Look at test-6.png to see the problem.
Thanks.
Icon with transparency is not imported correctly
Re: Icon with transparency is not imported correctly
Fixed in ImageMagick 6.3.7-0 Beta. Thanks for the problem report.
Re: Icon with transparency is not imported correctly
Hi,
Sorry to be posting about this again.
The bug wasn't completly fixed.
Here's a screenshot of the new behavior (top) and old behavior (bottom).
It seems that now, it ignores the transparent bit which says whether a pixel should be transparent or not.
It does however import the frames with alpha channel correctly.
I believe the correct way to import this file is to have the first 6 frames like the bottom row and the last 3 frames like the top row.
Thanks again for looking into this.
FS
Sorry to be posting about this again.
The bug wasn't completly fixed.
Here's a screenshot of the new behavior (top) and old behavior (bottom).
It seems that now, it ignores the transparent bit which says whether a pixel should be transparent or not.
It does however import the frames with alpha channel correctly.
I believe the correct way to import this file is to have the first 6 frames like the bottom row and the last 3 frames like the top row.
Thanks again for looking into this.
FS