1load_bmp(3)                     Allegro manual                     load_bmp(3)
2
3
4

NAME

6       load_bmp  -  Loads  a  BMP bitmap from a file. Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       BITMAP *load_bmp(const char *filename, RGB *pal);
14

DESCRIPTION

16       Loads an 8-bit, 16-bit, 24-bit or 32-bit Windows or OS/2 BMP file.
17

RETURN VALUE

19       Returns a pointer to the bitmap or NULL on error. Remember that you are
20       responsible  for destroying the bitmap when you are finished with it to
21       avoid memory leaks.
22
23

SEE ALSO

25       load_bitmap(3), load_bmp_pf(3)
26
27
28
29Allegro                          version 4.4.2                     load_bmp(3)
Impressum