2003-05-23 17:04:24 +00:00
|
|
|
#ifndef __BITMAP_H
|
|
|
|
#define __BITMAP_H
|
2001-08-25 21:04:29 +00:00
|
|
|
|
|
|
|
typedef struct _txSample
|
|
|
|
{
|
2003-02-01 08:42:52 +00:00
|
|
|
unsigned long Width;
|
|
|
|
unsigned long Height;
|
2001-08-25 21:04:29 +00:00
|
|
|
unsigned int BPP;
|
|
|
|
unsigned long ImageSize;
|
|
|
|
char * Image;
|
|
|
|
} txSample;
|
|
|
|
|
|
|
|
extern int bpRead( char * fname, txSample * bf );
|
|
|
|
extern int conv24to32( txSample * bf );
|
2001-11-05 17:00:42 +00:00
|
|
|
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
|
|
|
|
extern void Convert1to32( txSample * in,txSample * out );
|
2001-08-25 21:04:29 +00:00
|
|
|
|
2003-05-23 17:04:24 +00:00
|
|
|
#endif /* __BITMAP_H */
|