save_bmp(3alleg4) | Allegro manual | save_bmp(3alleg4) |
save_bmp - Saves a bitmap into a BMP file. Allegro game programming library.
#include <allegro.h>
int save_bmp(const char *filename, BITMAP *bmp, const RGB *pal);
Writes a bitmap into a 256-color or 24-bit truecolor BMP file.
Returns non-zero on error.
version 4.4.2 | Allegro |