save_bmp - Man Page

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

Synopsis

#include <allegro.h>

int save_bmp(const char *filename, BITMAP *bmp, const RGB *pal);

Description

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

Return Value

Returns non-zero on error.

See Also

save_bitmap(3)

Referenced By

save_bitmap(3), save_bmp_pf(3).

version 4.4.3 Allegro manual