Allegro 5 api
#include <allegro5/allegro.h> int al_get_bitmap_height(ALLEGRO_BITMAP *bitmap)
Returns the height of a bitmap in pixels.