logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

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

Name

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

Return Value

       Returns non-zero on error.

See Also

save_bitmap(3alleg4)

Allegro                                           version 4.4.3                                save_tga(3alleg4)

Synopsis

#include<allegro.h>intsave_tga(constchar*filename,BITMAP*bmp,constRGB*pal);

See Also