al_identify_bitmap(3)

al_identify_bitmap3

Allegro 5 api

Usage

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

Overview

This works exactly as al_identify_bitmap_f(3) 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.

Since

5.1.12

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.