Page 1 of 1

magick++ failed to read a gif image

Posted: 2012-03-15T01:21:38-07:00
by collinmsn
I have a gif image that can display well on windows and can be opened by other gif viewers, but magick++ failed to open it.
how can i attach the gif file for R&D to debug it?

Re: magick++ failed to read a gif image

Posted: 2012-03-15T04:28:24-07:00
by magick
Post a URL to your image so we can download and inspect it. There are numerous free services for uploading images (e.g. Google / Dropbox).

Re: magick++ failed to read a gif image

Posted: 2012-03-15T19:15:16-07:00
by collinmsn
follow the link to access it. http://vdisk.weibo.com/s/3dV3I

Re: magick++ failed to read a gif image

Posted: 2012-03-16T04:37:54-07:00
by magick
Your GIF is corrupt. For example, gimp says "too much input data, ignoring extra". The gif2tiff program says "unknown GIF version number." The Gnome image viewer says "Could not load image." And of course ImageMagick says "corrupt image." We temporarily turned the "corrupt image" exception from an error to a warning and ImageMagick could display your GIF image. However, we won't do that for the public distributions. For security reasons, ImageMagick demands that all images meet the image format specification to avoid memory corruption and possible denial-of-service vulnerabilities. Some other utilities may not be concerned with security and will go ahead and process corrupt images.

If you can show that your GIF image is not corrupt and that the various utilities mentioned here are not interpreting your image properly, let us know and we will investigate further.