void LoadTGABuffer ( const byte *buffer, const byte* enddata, byte **pic, int *width, int *height);
void WriteTGA (const char *filename, byte *data, int width, int height);
void WriteTGAGray (const char *filename, byte *data, int width, int height);
+int LoadJPGBuff( void *src_buffer, int src_size, unsigned char **pic, int *width, int *height );
void Load32BitImage (const char *name, unsigned **pixels, int *width, int *height);