Search found 5 matches

by vlodagon
2013-09-16T08:11:51-07:00
Forum: Bugs
Topic: Animated GIF can't be opened
Replies: 7
Views: 12652

Re: Animated GIF can't be opened

correct path for 6.8.6-9 to fix this problem look so: --- a/coders/gif.c +++ b/coders/gif.c @@ -397,9 +397,6 @@ static MagickBooleanType DecodeImage(Image *image,const ssize_t opacity) int c; - InterlaceType - interlace; - LZWInfo *lzw_info; @@ -428,9 +425,6 @@ static MagickBooleanType DecodeImage ...
by vlodagon
2013-08-19T02:59:07-07:00
Forum: Bugs
Topic: Animated GIF can't be opened
Replies: 7
Views: 12652

Re: Animated GIF can't be opened

Thanks for the support. Result is not great not because rounding issue, but because fix is incorrect. If height of interlaced image less then 8px, missing rows (pass) should be skipped instead of disabling interlacing at all.
by vlodagon
2013-08-14T04:09:47-07:00
Forum: Bugs
Topic: Animated GIF can't be opened
Replies: 7
Views: 12652

Re: Animated GIF can't be opened

thanks for the fix, but now these images are incorrect after resize

Code: Select all

./convert 1.gif -resize 100x100 res.gif
by vlodagon
2013-07-29T10:18:09-07:00
Forum: Bugs
Topic: Animated GIF can't be opened
Replies: 7
Views: 12652

Re: Animated GIF can't be opened

looks like bug in following code in DecodeImage() and EncodeImage() functions in coders/gif.c switch (pass) { case 0: default: { offset+=8; if (offset >= (ssize_t) image->rows) { pass++; offset=4; } break; so decode will fail with all interlaced gifs containing frames with height less then 5
by vlodagon
2013-07-24T14:25:39-07:00
Forum: Bugs
Topic: Animated GIF can't be opened
Replies: 7
Views: 12652

Animated GIF can't be opened

We have 2 animated GIFs: https://docs.google.com/file/d/0B9AgH7Lxh7dIUE9FSm5RQ0pPbk0/edit?usp=sharing https://docs.google.com/file/d/0B9AgH7Lxh7dIWXJQcjZucDQ3NXM/edit?usp=sharing This GIFs are correct but can't be opened in ImageMagic. It throws the following exception: $ ./convert /tmp/1.gif -debug ...