|
|
Image I/O addon
al_init_image_addonInitializes the IIO addon. al_shutdown_image_addonShut down the IIO addon. This is done automatically at program exit, but can be called any time the user wishes as well. al_register_bitmap_loaderRegister a handler for al_load_bitmap. The given function will be used to handle the loading of bitmaps files with the given extension. The extension should include the leading dot ('.') character. It will be matched case-insensitively. The Returns true on success, false on error. Returns false if unregistering an entry that doesn't exist. al_register_bitmap_saverRegister a handler for al_save_bitmap. The given function will be used to handle the loading of bitmaps files with the given extension. The extension should include the leading dot ('.') character. It will be matched case-insensitively. The Returns true on success, false on error. Returns false if unregistering an entry that doesn't exist. al_register_bitmap_loader_streamRegister a handler for al_load_bitmap_stream. The given function will be used to handle the loading of bitmaps files with the given extension. The extension should include the leading dot ('.') character. It will be matched case-insensitively. The Returns true on success, false on error. Returns false if unregistering an entry that doesn't exist. al_register_bitmap_saver_streamRegister a handler for al_save_bitmap_stream. The given function will be used to handle the loading of bitmaps files with the given extension. The extension should include the leading dot ('.') character. It will be matched case-insensitively. The Returns true on success, false on error. Returns false if unregistering an entry that doesn't exist. al_load_bitmapLoads an image file into an ALLEGRO_BITMAP. The file type is determined by the extension. Returns NULL on error. See also: al_load_bitmap_stream, al_register_bitmap_loader, al_set_new_bitmap_format, al_set_new_bitmap_flags al_load_bitmap_streamLoads an image from an ALLEGRO_FILE stream into an ALLEGRO_BITMAP. The file type is determined by the passed 'ident' parameter, which is a file name extension including the leading dot. Returns NULL on error. See also: al_load_bitmap, al_register_bitmap_loader_stream al_save_bitmapSaves an ALLEGRO_BITMAP to an image file. The file type is determined by the extension. Returns true on success, false on error. See also: al_save_bitmap_stream, al_register_bitmap_saver al_save_bitmap_streamSaves an ALLEGRO_BITMAP to an ALLEGRO_FILE stream. The file type is determined by the passed 'ident' parameter, which is a file name extension including the leading dot. Returns true on success, false on error. See also: al_save_bitmap, al_register_bitmap_saver_stream al_load_bmpCreate a new ALLEGRO_BITMAP from a BMP file. The bitmap is created with al_create_bitmap. Returns NULL on error. See Also: al_load_bitmap. al_load_bmp_streamSee al_load_bmp and al_load_bitmap_stream. al_load_jpgCreate a new ALLEGRO_BITMAP from a JPEG file. The bitmap is created with al_create_bitmap. Returns NULL on error. See Also: al_load_bitmap. al_load_jpg_streamSee al_load_jpg and al_load_bitmap_stream. al_load_pcxCreate a new ALLEGRO_BITMAP from a PCX file. The bitmap is created with al_create_bitmap. Returns NULL on error. See Also: al_load_bitmap. al_load_pcx_streamSee al_load_pcx and al_load_bitmap_stream. al_load_pngCreate a new ALLEGRO_BITMAP from a PNG file. The bitmap is created with al_create_bitmap. Returns NULL on error. See Also: al_load_bitmap. al_load_png_streamSee al_load_png and al_load_bitmap_stream. al_load_tgaCreate a new ALLEGRO_BITMAP from a TGA file. The bitmap is created with al_create_bitmap. Returns NULL on error. See Also: al_load_bitmap. al_load_tga_streamSee al_load_tga and al_load_bitmap_stream. al_save_bmpSave an ALLEGRO_BITMAP as a BMP file. Returns true on success, false on error. See Also: al_save_bitmap. al_save_bmp_streamSee al_save_bmp and al_save_bitmap_stream. al_save_jpgSave an ALLEGRO_BITMAP as a JPEG file. Returns true on success, false on error. See Also: al_save_bitmap. al_save_jpg_streamSee al_save_jpg and al_save_bitmap_stream. al_save_pcxSave an ALLEGRO_BITMAP as a PCX file. Returns true on success, false on error. See Also: al_save_bitmap. al_save_pcx_streamSee al_save_pcx and al_save_bitmap_stream. al_save_pngSave an ALLEGRO_BITMAP as a PNG file. Returns true on success, false on error. See Also: al_save_bitmap. al_save_png_streamSee al_save_png and al_save_bitmap_stream. al_save_tgaSave an ALLEGRO_BITMAP as a TGA file. Returns true on success, false on error. See Also: al_save_bitmap. al_save_tga_streamSee al_save_tga and al_save_bitmap_stream. al_get_allegro_image_versionReturns the (compiled) version of the addon, in the same format as al_get_allegro_version. |
Last updated: 2009-09-13 09:23:37 UTC