1al_load_bitmap_flags_f(3) al_load_bitmap_flags_f(3)
2
3
4
6 al_load_bitmap_flags_f - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_BITMAP *al_load_bitmap_flags_f(ALLEGRO_FILE *fp,
12 const char *ident, int flags)
13
15 Loads an image from an ALLEGRO_FILE(3) stream into a new ALLEGRO_BIT‐
16 MAP(3). The file type is determined by the passed `ident' parameter,
17 which is a file name extension including the leading dot. If (and only
18 if) `ident' is NULL, the file type is determined with al_identify_bit‐
19 map_f(3) instead.
20
21 The flags parameter is the same as for al_load_bitmap_flags(3).
22
23 Returns NULL on error. The file remains open afterwards.
24
25 Note: the core Allegro library does not support any image file
26 formats by default. You must use the allegro_image addon, or
27 register your own format handler.
28
30 5.1.0
31
33 al_load_bitmap_f(3), al_load_bitmap_flags(3)
34
35
36
37Allegro reference manual al_load_bitmap_flags_f(3)