Decoding a GIF question

Posted by teehoo on Stack Overflow See other posts from Stack Overflow or by teehoo
Published on 2010-04-22T19:56:03Z Indexed on 2010/04/22 20:53 UTC
Read the original article Hit count: 404

Filed under:
|

For a personal project I'm creating a static gif decoder. Everything works well so far, except I'm having trouble understanding one concept from the specification:

This block is REQUIRED for an image. Exactly one Image Descriptor must be present per image in the Data Stream. An unlimited number of images may be present per Data Stream. (Spec)

Unlimited images per data stream? There can be more than 1? I'm assuming they don't mean an animated GIF because in the same specification they state, that they don't recommend gif's be used for animation.

I've read a lot of other sites documenting the gif format and they all state something similar. Heres another link:

There might be an unlimited number of images present in a GIF.

Any ideas?

© Stack Overflow or respective owner

Related posts about gif

Related posts about decoding