1save_tga(3)                     Allegro manual                     save_tga(3)
2
3
4

NAME

6       save_tga  -  Saves  a  bitmap into a TGA file. Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int save_tga(const char *filename, BITMAP *bmp, const RGB *pal);
14

DESCRIPTION

16       Writes a bitmap into a 256-color, 15-bit hicolor, 24-bit truecolor,  or
17       32-bit truecolor+alpha TGA file.
18

RETURN VALUE

20       Returns non-zero on error.
21
22

SEE ALSO

24       save_bitmap(3)
25
26
27
28Allegro                          version 4.2.2                     save_tga(3)
Impressum