.\" Generated by the Allegro makedoc utility .TH save_tga 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME save_tga \- Saves a bitmap into a TGA file. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int save_tga(const char *filename, BITMAP *bmp, const RGB *pal); .SH DESCRIPTION Writes a bitmap into a 256-color, 15-bit hicolor, 24-bit truecolor, or 32-bit truecolor+alpha TGA file. .SH "RETURN VALUE" Returns non-zero on error. .SH SEE ALSO .BR save_bitmap (3alleg4)