Page 1 of 1

possible bug with - icon decoder.

Posted: 2010-02-26T02:55:16-07:00
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

Re: possible bug with - icon decoder.

Posted: 2010-02-26T09:00:42-07:00
by magick
Post a URL to your image so we can download and inspect it.

Re: possible bug with - icon decoder.

Posted: 2010-02-27T07:28:27-07:00
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.

Re: possible bug with - icon decoder.

Posted: 2010-02-27T08:24:21-07:00
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.