view Gui/bitmap.h @ 6752:224fe311f5f6

Huge patch by Jonas Jermann <jjermann@gmx.net> (1/2). I extracted all the cosmetic parts from the patch, removed the bitrot and added quite a few (also cosmetic) consistency, spelling and appearance changes. Columns are not broken at random anymore and should be readable now. We now have a good looking man page :-)
author diego
date Fri, 19 Jul 2002 01:24:15 +0000
parents 3473ca9ef158
children 634d93c68912
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"
#include "../../mp_msg.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