- Main Page
- Namespaces
- Classes
- Files
- Related Pages

# GB2D/src/gbImageLoader/gbImageLoader.h

    00001
    00002 //File format parsers:
    00003 unsigned char* ReadTGA(::std::ifstream* file, int* width, int* height, int* bpp, GB2DERROR* errorstate, D3DCOLOR** palette, unsigned int file_offset);
    00004 unsigned char* ReadBMP(::std::ifstream* file, int* width, int* height, int* bpp, GB2DERROR* errorstate, D3DCOLOR** palette, unsigned int file_offset);
    00005 unsigned char* ReadTIFF(::std::ifstream* file, int* width, int* height, int* bpp, GB2DERROR* errorstate, D3DCOLOR** palette, unsigned int file_offset);
    00006
    00007 //Compression algorithms:
    00008 void DecompressLZW(unsigned char* in, unsigned char* out, unsigned int compressed_size, unsigned int uncompressed_size);