Query: save_tga
OS: netbsd
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
save_tga(3alleg4) Allegro manual save_tga(3alleg4)NAMEsave_tga - Saves a bitmap into a TGA file. Allegro game programming library.SYNOPSIS#include <allegro.h> int save_tga(const char *filename, BITMAP *bmp, const RGB *pal);DESCRIPTIONWrites a bitmap into a 256-color, 15-bit hicolor, 24-bit truecolor, or 32-bit truecolor+alpha TGA file.RETURN VALUEReturns non-zero on error.SEE ALSOsave_bitmap(3alleg4) Allegro version 4.4.2 save_tga(3alleg4)