Image I/O addon
These functions are declared in the following header file. Link with allegro_image.
The following types are built into the Allegro image addon and guaranteed to be available: BMP, DDS, 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.
The DDS format is only supported to load from, and only if the DDS file contains textures compressed in the DXT1, DXT3 and DXT5 formats. Note that when loading a DDS file, the created bitmap will always be a video bitmap and will have the pixel format matching the format in the file.
Shut down the image addon. This is done automatically at program exit, but can be called any time the user wishes as well.
Returns the (compiled) version of the addon, in the same format as al_get_allegro_version.