Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

save_bmp - Saves a bitmap into a BMP file. Allegro game programming library.

Description

       Writes a bitmap into a 256-color or 24-bit truecolor BMP file.

Name

       save_bmp - Saves a bitmap into a BMP file. Allegro game programming library.

Return Value

       Returns non-zero on error.

See Also

save_bitmap(3alleg4)

Allegro                                           version 4.4.3                                save_bmp(3alleg4)

Synopsis

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

See Also