|  | 
| 
 Compounds | 
| struct | context | 
| struct | GifScreenStruct | 
| 
 Defines | 
| #define | MAXCOLORMAPSIZE   256 | 
| #define | CM_RED   0 | 
| #define | CM_GREEN   1 | 
| #define | CM_BLUE   2 | 
| #define | MAX_LWZ_BITS   12 | 
| #define | INTERLACE   0x40 | 
| #define | LOCALCOLORMAP   0x80 | 
| #define | BitSet(byte, bit)   (((byte) & (bit)) == (bit)) | 
| #define | PBM_TYPE   1 | 
| #define | PGM_TYPE   2 | 
| #define | PPM_TYPE   3 | 
| #define | ReadOK(file, buffer, len)   ((memcpy(buffer, gifFile + gifAddr, len), gifAddr += len), TRUE) | 
| #define | LM_to_uint(a, b)   (((b) << 8) | (a)) | 
| #define | GifScreen   GIFcontext->c_GifScreen | 
| #define | GetCodebuf   GIFcontext->c_GetCodebuf | 
| #define | LZWtable   GIFcontext->c_LZWtable | 
| #define | LZWstack   GIFcontext->c_LZWstack | 
| #define | localColorMap   GIFcontext->c_localColorMap | 
| #define | pm_error(x) | 
| 
 Functions | 
| int | ReadColorMap (int number, unsigned char buffer[3][MAXCOLORMAPSIZE]) | 
| int | GetDataBlock (LPBYTE buf) | 
| int | GetCode (int code_size, int flag) | 
| int | LWZReadByte (int flag, int input_code_size) | 
| int | DoExtension (int label) | 
| int | ReadImage (int len, int height, int ncolours, unsigned char cmap[3][MAXCOLORMAPSIZE], int interlace, int ignore) | 
| LPBYTE | GIFtoBMP (LPBYTE gif, int imageNumber) | 
| 
 Variables | 
| LPBYTE | gifFile | 
| long | gifAddr | 
| LPBYTE | bmpFile = NULL | 
| struct { | 
| int   transparent | 
| int   delayTime | 
| int   inputFlag | 
| int   disposal | 
| } | Gif89 | 
| context * | GIFcontext | 
| int | fatal | 
| int | ZeroDataBlock = FALSE |