Arch manual pages

al_get_bitmap_format(3) al_get_bitmap_format(3)

al_get_bitmap_format - Allegro 5 API


#include <allegro5/allegro.h>
int al_get_bitmap_format(ALLEGRO_BITMAP *bitmap)

    

Returns the pixel format of a bitmap.

ALLEGRO_PIXEL_FORMAT(3), al_set_new_bitmap_flags(3)
Allegro reference manual