1al_load_bitmap_f(3) Library Functions Manual al_load_bitmap_f(3)
2
3
4
6 al_load_bitmap_f
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_BITMAP *al_load_bitmap_f(ALLEGRO_FILE *fp, const char *ident)
12
14 Loads an image from an ALLEGRO_FILE(3) stream into an ALLEGRO_BIT‐
15 MAP(3). The file type is determined by the passed `ident' parameter,
16 which is a file name extension including the leading dot.
17
18 Returns NULL on error. The file remains open afterwards.
19
20 Note: the core Allegro library does not support any image file
21 formats by default. You must use the allegro_image addon, or
22 register your own format handler.
23
25 al_load_bitmap(3), al_register_bitmap_loader_f(3),
26 al_init_image_addon(3)
27
28
29
30Allegro reference manual al_load_bitmap_f(3)