Menu

#383 GM fails to open multiframe GIF

v1.0_(example)
closed-works-for-me
None
5
2022-01-14
2016-04-22
Joe
No

GM is unable to process a GIF image consisting of multiple stacked frames (see attachment).

$ gm convert -verbose multiframe.gif /tmp/foo.gif
gm convert: Corrupt image (multiframe.gif).

$ gm identify multiframe.gif
gm identify: Corrupt image (multiframe.gif).
gm identify: Request did not return an image.

$ gm
GraphicsMagick 1.4 snapshot-20160417 Q16 http://www.GraphicsMagick.org/
Copyright (C) 2002-2016 GraphicsMagick Group.
Additional copyrights and licenses apply to this software.
See http://www.GraphicsMagick.org/www/Copyright.html for details.
1 Attachments

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2016-04-22

    There is a known bug in that GraphicsMagick fails to open very large multi-frame GIF files. I already have a collection of such files and the common theme is that they are over 1MB in size. The problem is not likely to be due to the "high color" nature of this GIF file.

    I thought that the GIF format would have already died but it seems to have recently resurged in popularity similar to vinyl records.

     
  • Tobias Mark

    Tobias Mark - 2022-01-14

    Hi Bob, i suggest you close this because with current GM Version (1.3.37 to be exact) I can't reproduce this bug anymore. I've also used the large 1,4MB form the website in comment #1 and could successfully convert it to something else.

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2022-01-14
    • status: open --> closed-works-for-me
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2022-01-14

    Thanks to Tobias Mark for noticing that GM reads this file ok. In all honesty, since there were already some bug reports pertaining to long/large GIF sequences, I don't think that I downloaded the test file so assure that I could reproduce it for myself.

    I just downloaded the file from the referenced web site and current GM does indeed read it without problems.

     

Log in to post a comment.