summaryrefslogtreecommitdiffstats
path: root/gui/bitmap.h
blob: 28b98ef9f9107b603140aa4eeeecd4a38b0108ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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 );
int conv24to32( txSample * bf );
void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
void Convert1to32( txSample * in,txSample * out );

#endif /* __BITMAP_H */