save_tga - Man Page

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);

Description

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

Return Value

Returns non-zero on error.

See Also

save_bitmap(3)

Referenced By

save_bitmap(3), save_tga_pf(3).

version 4.4.3 Allegro manual