Provided by: allegro5-doc_5.0.10-2_all
NAME
al_init_image_addon - Allegro 5 API
SYNOPSIS
#include <allegro5/allegro_image.h> bool al_init_image_addon(void)
DESCRIPTION
Initializes the image addon. This registers bitmap format handlers for al_load_bitmap(3alleg5), al_load_bitmap_f(3alleg5), al_save_bitmap(3alleg5), al_save_bitmap_f(3alleg5). The following types are built into the Allegro image addon and guaranteed to be available: BMP, PCX, TGA. Every platform also supports JPEG and PNG via external dependencies. Other formats may be available depending on the operating system and installed libraries, but are not guaranteed and should not be assumed to be universally available.