al_register_bitmap_identifier - Online Linux Manual Page

Section : 3
Updated :
Source : Allegro reference manual
Note :

NAMEal_register_bitmap_identifier − Allegro 5 API

SYNOPSIS #include <allegro5/allegro.h> bool al_register_bitmap_identifier(const char *extension,    bool (*identifier)(ALLEGRO_FILE *f))

DESCRIPTIONRegister an identify handler for al_identify_bitmap(3). The given function will be used to detect files for the given extension. It will be called with a single argument of type ALLEGRO_FILE(3) which is a file handle opened for reading and located at the first byte of the file. The handler should try to read as few bytes as possible to safely determine if the given file contents correspond to the type with the extension and return true in that case, false otherwise. The file handle must not be closed but there is no need to reset it to the beginning. The extension should include the leading dot ('.') character. It will be matched case−insensitively. The identifier argument may be NULL to unregister an entry. Returns true on success, false on error. Returns false if unregistering an entry that doesn't exist.

SINCE5.1.12

SEE ALSOal_identify_bitmap(3)
0
Johanes Gumabo
Data Size   :   4,278 byte
man-al_register_bitmap_identifier.3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   67 / 5,188,795
Visitor ID   :     :  
Visitor IP   :   216.73.216.217   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.