save_bmp(3)
β¨ NAME β¨
okay so bestie, this is save_bmp(3) from the Allegro manual π β the function that saves a bitmap into a BMP file. And yeah, it's part of the Allegro game programming library. Periodt.
πΈ SYNOPSIS πΈ
#include <allegro.h>
int save_bmp(const char *filename, BITMAP *bmp, const RGB *pal);
π DESCRIPTION π
It writes a bitmap into a 256-color or 24-bit truecolor BMP file. That's the whole vibe. No cap. π
π¦ RETURN VALUE π¦
Returns non-zero on error. So if it comes back non-zero, that's your sign something went sideways π. Periodt.
π SEE ALSO π
mwah π β Allegro manual, version 4.4.3. And the date? not on this page, bestie, so we're not making one up. Bye bestie! π«Ά
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms