save_bmp(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ 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