Bug in GIF decoder
Posted: 2014-04-10T11:37:55-07:00
It looks like the GIF decoder has a problem somewhere.
Using this as img.gif: http://upload.wikimedia.org/wikipedia/c ... imated.gif
When I run :
convert img.gif[0] frame0.gif
...and...
convert img.gif[1] frame1.gif
I get the correct images.
But when I run:
convert img.gif[2] frame2.gif
The output is corrupt. It looks like a lot of the pixels have been set to white for some reason.
I also see that problem in frame 6.
I'd assume it was a bad GIF, but Firefox, and IE and all the on-line GIF frame extractors I tried were able to show all the frames without any problem.
(I'm using the IM 6.8.8 on Windows)
Using this as img.gif: http://upload.wikimedia.org/wikipedia/c ... imated.gif
When I run :
convert img.gif[0] frame0.gif
...and...
convert img.gif[1] frame1.gif
I get the correct images.
But when I run:
convert img.gif[2] frame2.gif
The output is corrupt. It looks like a lot of the pixels have been set to white for some reason.
I also see that problem in frame 6.
I'd assume it was a bad GIF, but Firefox, and IE and all the on-line GIF frame extractors I tried were able to show all the frames without any problem.
(I'm using the IM 6.8.8 on Windows)