//////////////////////////////////////////////////////////
// bmpio.h
//////////////////////////////////////////////////////////

struct BMPINFO
{
	unsigned char *bits;
	int width;
	int height;
	int colours;
	unsigned char *palette;
	int cropx;
	int cropy;
	int	scalex;
	int scaley;
};

int bmp_save( char *filename, BMPINFO *pbmpinfo );