#ifndef __BITMAP_H #define __BITMAP_H typedef struct _txSample { unsigned long Width; unsigned long Height; unsigned int BPP; unsigned long ImageSize; char * Image; } txSample; int bpRead( char * fname, txSample * bf ); void Convert32to1( txSample * in,txSample * out,int adaptivlimit ); #endif /* __BITMAP_H */