1al_load_bitmap_f(3)                                        al_load_bitmap_f(3)
2
3
4

NAME

6       al_load_bitmap_f - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              ALLEGRO_BITMAP *al_load_bitmap_f(ALLEGRO_FILE *fp, const char *ident)
12

DESCRIPTION

14       Loads  an  image from an ALLEGRO_FILE(3) stream into a new 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.  If (and only
17       if) `ident' is NULL, the file type is determined with  al_identify_bit‐
18       map_f(3) instead.
19
20       This  is  the  same as calling al_load_bitmap_flags_f(3) with 0 for the
21       flags parameter.
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

SEE ALSO

30       al_load_bitmap_flags_f(3), al_load_bitmap(3),  al_register_bitmap_load‐
31       er_f(3), al_init_image_addon(3)
32
33
34
35Allegro reference manual                                   al_load_bitmap_f(3)
Impressum