al_convert_bitmap(3)
π NAME π
al_convert_bitmap β Allegro 5 API. (Yes bestie, this page is from the Library Functions Manual, and weβre doing bitmap glow-ups today.)
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
void al_convert_bitmap(ALLEGRO_BITMAP *bitmap)
π DESCRIPTION π
Okay so al_convert_bitmap converts the bitmap to the current bitmap flags and format. The vibe is: itβs as if the bitmap was created anew with al_create_bitmap(3), but it retains its contents. All of this bitmapβs sub-bitmaps are also converted. If the new bitmap type is memory, then the bitmapβs projection bitmap is reset to be orthographic.
If this bitmap is a sub-bitmap, then it, its parent and all the sibling sub-bitmaps are also converted. No cap. π
πΈ SINCE πΈ
5.1.0
π¦ SEE ALSO π¦
Signed off with the footer energy: Allegro reference manual Β· al_convert_bitmap(3) πβ¨
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms