view Gui/bitmap.h @ 11899:18bd28454ef6

Do not try to seek beyond the end of the stream when parsing the headers.
author mosu
date Sat, 31 Jan 2004 09:54:09 +0000 (2004-01-31)
parents 22572f1dafa3
children
line wrap: on
line source
#ifndef __BITMAP_H
#define __BITMAP_H

typedef struct _txSample
{
 unsigned long Width;
 unsigned long Height;
 unsigned int  BPP;
 unsigned long ImageSize;
 char *        Image;
} txSample;

extern int bpRead( char * fname, txSample * bf );
extern int conv24to32( txSample * bf );
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
extern void Convert1to32( txSample * in,txSample * out );

#endif /* __BITMAP_H */