![]() |
Bsoft 2.1.4
Bernard's software package
|
Functions for reading and writing Truevision TGA files. More...
Functions | |
RGB< unsigned char > | TGA_to_RGB (const unsigned char *pColorData, unsigned int bitsPerColor) |
RGBA< unsigned char > | TGA_to_RGBA (const unsigned char *pColorData, unsigned int bitsPerColor) |
int | readTGA (Bimage *p, int readdata) |
Reading a Truevision TGA image file format. More... | |
int | writeTGA (Bimage *p) |
Writing a Truevision TGA map image file format. More... | |
Variables | |
int | verbose |
Functions for reading and writing Truevision TGA files.
int readTGA | ( | Bimage * | p, |
int | readdata | ||
) |
Reading a Truevision TGA image file format.
*p | the image structure. |
readdata | flag to activate reading of image data. |
RGB< unsigned char > TGA_to_RGB | ( | const unsigned char * | pColorData, |
unsigned int | bitsPerColor | ||
) |
RGBA< unsigned char > TGA_to_RGBA | ( | const unsigned char * | pColorData, |
unsigned int | bitsPerColor | ||
) |
int writeTGA | ( | Bimage * | p | ) |
Writing a Truevision TGA map image file format.
*p | the image structure. |
|
extern |