1 namespace Plugin 2 { 3 /// <summary>Control codes controlling the next action of the GIF decoder</summary> 4 internal enum ControlCode 5 { 6 /// <summary>Start of a new image</summary> 7 ImageSeparator = 0x2C, 8 /// <summary>Start of an extension block</summary> 9 ExtensionBlock = 0x21, 10 /// <summary>EOF marker</summary> 11 Terminator = 0x3b, 12 /* 13 * Extension block identifiers 14 */ 15 /// <summary>The extension block contains a Graphics Extension</summary> 16 GraphicsExtension = 0xf9, 17 /// <summary>The extension block contains an Application Extension</summary> 18 ApplicationExtension = 0xff, 19 /// <summary>The extension block overlays text onto the image</summary> 20 TextOverlay = 0x01, 21 /// <summary>The extension block contains a comment</summary> 22 Comment = 0xfe, 23 /* 24 * Misc 25 */ 26 /// <summary>Not as per the specification, but probably harmless, so skip</summary> 27 BadByte = 0x00 28 } 29 } 30