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.

RELATED TO save_bmp…

save_bitmap(3alleg4)