1al_register_bitmap_saver_f(3)                    al_register_bitmap_saver_f(3)
2
3
4

NAME

6       al_register_bitmap_saver_f - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_register_bitmap_saver_f(const char *extension,
12                 bool (*fs_saver)(ALLEGRO_FILE *fp, ALLEGRO_BITMAP *bmp))
13

DESCRIPTION

15       Register a handler for al_save_bitmap_f(3).  The given function will be
16       used to handle the saving of bitmaps files with the given extension.
17
18       The extension should include the leading dot ('.') character.  It  will
19       be matched case-insensitively.
20
21       The saver_f argument may be NULL to unregister an entry.
22
23       Returns  true on success, false on error.  Returns false if unregisterā€
24       ing an entry that doesn't exist.
25

SEE ALSO

27       al_register_bitmap_saver(3)
28
29
30
31Allegro reference manual                         al_register_bitmap_saver_f(3)
Impressum