50 #ifndef GRAPHICS_IMAGES_TGA_H 51 #define GRAPHICS_IMAGES_TGA_H 56 class SeekableReadStream;
93 #endif // GRAPHICS_IMAGES_TGA_H Generic image decoder interface.
void readHeader(Common::SeekableReadStream &tga, ImageType &imageType, byte &pixelDepth, byte &imageDesc)
void readData(Common::SeekableReadStream &tga, ImageType imageType, byte pixelDepth, byte imageDesc)
A generic interface for image decoders.
bool isSupportedImageType(ImageType type) const
void load(Common::SeekableReadStream &tga)
Interface for a seekable & readable data stream.
TGA(Common::SeekableReadStream &tga, bool cubeMap=false)
void readRLE(Common::SeekableReadStream &tga, byte pixelDepth, size_t layer)