View Single Post
Jerrythabest Jerrythabest's Avatar

JCF Member

Joined: Apr 2005

Posts: 2,602

Jerrythabest is a forum legendJerrythabest is a forum legendJerrythabest is a forum legend

Jan 31, 2013, 01:20 PM
Jerrythabest is offline
Reply With Quote
In that case I figure we could either search or make a simple tool to enter "Comment Extension" blocks into the GIF file. See Chapter 24 on page 17.

Code:
struct CommentExtension{
    char extensionIntroducer = 0x21;
    char commentLabel = 0xFE;
    char dataSize;
    char[dataSize] data;
    char blockTerminator = 0x00;
}
Then we can just define the extra information in the comment data. (Reading the thing myself the second time, this would void the spec since it "should not be used to store control information for custom processing". The Application Extension block is an alternative.)
__________________