1save_tga(3) Allegro manual save_tga(3)
23
4
NAME
6save_tga - Saves a bitmap into a TGA file. Allegro game programming
7library.
8
SYNOPSIS
10#include <allegro.h>
1112
13
int save_tga(const char *filename, BITMAP *bmp, const RGB *pal);
14
DESCRIPTION
16Writes a bitmap into a 256-color, 15-bit hicolor, 24-bit truecolor, or
1732-bit truecolor+alpha TGA file.
18
RETURN VALUE
20Returns non-zero on error.
2122
SEE ALSO
24save_bitmap(3)
2526
27
28
Allegro version 4.4.3 save_tga(3)