1al_save_bitmap_f(3)                                        al_save_bitmap_f(3)
2
3
4

NAME

6       al_save_bitmap_f - Allegro 5 API
7

SYNOPSIS

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

DESCRIPTION

15       Saves an ALLEGRO_BITMAP(3) to an ALLEGRO_FILE(3) stream.  The file type
16       is determined by the passed 'ident' parameter, which  is  a  file  name
17       extension including the leading dot.
18
19       Returns  true on success, false on error.  The file remains open after‐
20       wards.
21
22              Note: the core Allegro library does not support any  image  file
23              formats  by  default.   You must use the allegro_image addon, or
24              register your own format handler.
25

SEE ALSO

27       al_save_bitmap(3),                       al_register_bitmap_saver_f(3),
28       al_init_image_addon(3)
29
30
31
32Allegro reference manual                                   al_save_bitmap_f(3)
Impressum