1 /* GIFdecode.h */ 2 3 /* Header file for GIF-LZW decompression routine 4 * (K) All Rites Reversed - Copy What You Like (see file Copying) 5 * 6 * Authors: 7 * Peter Hartley <pdh@chaos.org.uk> 8 */ 9 10 #ifndef BOOL 11 #define BOOL int 12 #define TRUE 1 13 #define FALSE 0 14 #endif 15 16 #define gifdecompress_WORKSIZE ( (3<<12) + 8000 ) 17 18 BOOL LZWDecompress( void *pFrom, int nFrom2, void *pTo2, void *pWork, 19 unsigned int nMaxOut, unsigned int *pResultSize, 20 int minbits2 ); 21 /* TRUE => image was okay 22 * FALSE => it was broken (some may still have decompressed okay) 23 */ 24