save_tga

Saves a bitmap into a TGA file.

Description

int save_tga(const char *filename, BITMAP *bmp, const RGB *pal);
Writes a bitmap into a 256-color, 15-bit hicolor, 24-bit truecolor, or 32-bit truecolor+alpha TGA file.
Returns non-zero on error.
See Also:

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: