Allegro 5 api
#include <allegro5/allegro.h> int al_get_new_bitmap_format(void)
Returns the format used for newly created bitmaps.
ALLEGRO_PIXEL_FORMAT(3alleg5), al_set_new_bitmap_format(3alleg5)