DOKK / manpages / debian 10 / allegro5-doc / al_identify_bitmap.3alleg5.en
al_identify_bitmap(3alleg5) al_identify_bitmap(3alleg5)

al_identify_bitmap - Allegro 5 API

#include <allegro5/allegro.h>
char const *al_identify_bitmap(char const *filename)
    

This works exactly as al_identify_bitmap_f(3alleg5) but you specify the filename of the file for which to detect the type and not a file handle. The extension, if any, of the passed filename is not taken into account - only the file contents.

5.1.12

al_init_image_addon(3alleg5), al_identify_bitmap_f(3alleg5), al_register_bitmap_identifier(3alleg5)

Allegro reference manual