| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
void LoadLBM( const char *filename, byte **picture, byte **palette ); |
| 26 |
void WriteLBMfile( const char *filename, byte *data, int width, int height |
| 27 |
, byte *palette ); |
| 28 |
void LoadPCX( const char *filename, byte **picture, byte **palette, int *width, int *height ); |
| 29 |
void WritePCXfile( const char *filename, byte *data, int width, int height |
| 30 |
, byte *palette ); |
| 31 |
|
| 32 |
|
| 33 |
void Load256Image( const char *name, byte **pixels, byte **palette, |
| 34 |
int *width, int *height ); |
| 35 |
void Save256Image( const char *name, byte *pixels, byte *palette, |
| 36 |
int width, int height ); |
| 37 |
|
| 38 |
|
| 39 |
void LoadTGA( const char *filename, byte **pixels, int *width, int *height ); |
| 40 |
void LoadTGABuffer( const byte *buffer, const byte* enddata, byte **pic, int *width, int *height ); |
| 41 |
void WriteTGA( const char *filename, byte *data, int width, int height ); |
| 42 |
void WriteTGAGray( const char *filename, byte *data, int width, int height ); |
| 43 |
int LoadJPGBuff( void *src_buffer, int src_size, unsigned char **pic, int *width, int *height ); |
| 44 |
|
| 45 |
void Load32BitImage( const char *name, unsigned **pixels, int *width, int *height ); |
| 46 |
|
| 47 |
void LoadKTXBufferFirstImage( const byte *buffer, size_t bufSize, byte **pic, int *picWidth, int *picHeight ); |