possible bug with - icon decoder.

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
yu_cg
Posts: 2
Joined: 2010-02-26T00:24:27-07:00
Authentication code: 8675308

possible bug with - icon decoder.

Post by yu_cg »

I am using ImagicMagic 6.5.9 on windows/vs2005.
Unable to render the some icons correctly.

When i change the code in codes/icon.c line 316 and 317 to
image->columns=(unsigned long) icon_info.width;//icon_file.directory.width;
image->rows=(unsigned long) icon_info.height;//icon_file.directory.height;

it works.

any comment?

by the way, is there any method to upload an attachment?


Thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug with - icon decoder.

Post by magick »

Post a URL to your image so we can download and inspect it.
yu_cg
Posts: 2
Joined: 2010-02-26T00:24:27-07:00
Authentication code: 8675308

Re: possible bug with - icon decoder.

Post by yu_cg »

hi, magick

pls check to see if the following url can download the ico.

http://www.rayfile.com/files/dda3be05-2 ... 5c55db73d/

thank you.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug with - icon decoder.

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.6.0-1 Beta available by sometime tomorrow. Thanks.
Post Reply