2003-05-23 19:04:24 +02:00
|
|
|
#ifndef __BITMAP_H
|
|
|
|
#define __BITMAP_H
|
2001-08-25 23:04:29 +02:00
|
|
|
|
|
|
|
typedef struct _txSample
|
|
|
|
{
|
2003-02-01 09:42:52 +01:00
|
|
|
unsigned long Width;
|
|
|
|
unsigned long Height;
|
2001-08-25 23:04:29 +02: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 18:00:42 +01:00
|
|
|
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
|
|
|
|
extern void Convert1to32( txSample * in,txSample * out );
|
2001-08-25 23:04:29 +02:00
|
|
|
|
2003-05-23 19:04:24 +02:00
|
|
|
#endif /* __BITMAP_H */
|