al_get_bitmap_format

int al_get_bitmap_format(ALLEGRO_BITMAP *bitmap)
Introduced in 5.0.0

Returns the pixel format of a bitmap.

See also: ALLEGRO_PIXEL_FORMAT, al_set_new_bitmap_flags

Examples: ex_draw, ex_pixelformat


Most helpful discussions:

Other recent discussions: