summaryrefslogtreecommitdiffstats
path: root/gui/bitmap.h
blob: 0e5a455ac5d976025e09357e81e9265f8d27837f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GUI_BITMAP_H
#define GUI_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 /* GUI_BITMAP_H */