1al_load_bitmap(3)                                            al_load_bitmap(3)
2
3
4

NAME

6       al_load_bitmap - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              ALLEGRO_BITMAP *al_load_bitmap(const char *filename)
12

DESCRIPTION

14       Loads an image file into a new ALLEGRO_BITMAP(3).  The file type is de‐
15       termined by the extension, except if the file has no extension in which
16       case al_identify_bitmap(3) is used instead.
17
18       Returns NULL on error.
19
20       This is the same as calling al_load_bitmap_flags(3) with a flags param‐
21       eter of 0.
22
23              Note: the core Allegro library does not support any  image  file
24              formats  by  default.   You must use the allegro_image addon, or
25              register your own format handler.
26

SEE ALSO

28       al_load_bitmap_flags(3), al_load_bitmap_f(3),  al_register_bitmap_load‐
29       er(3),     al_set_new_bitmap_format(3),     al_set_new_bitmap_flags(3),
30       al_init_image_addon(3)
31
32
33
34Allegro reference manual                                     al_load_bitmap(3)
Impressum