view Gui/bitmap.h @ 2717:5fa8c079ee3c

fix small xshape bug
author pontscho
date Mon, 05 Nov 2001 17:00:42 +0000
parents dee4b2ea5e5b
children 3473ca9ef158
line wrap: on
line source


#ifndef __MYSAMPLE
#define __MYSAMPLE

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

#include "tga/tga.h"
#include "bmp/bmp.h"
#include "png/png.h"

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