al_init_image_addon
bool al_init_image_addon(void)
Introduced in 5.0.0
Initializes the image addon. This registers bitmap format handlers for al_load_bitmap, al_load_bitmap_f, al_save_bitmap, al_save_bitmap_f.
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.
Examples: ex_audio_props, ex_bitmap, ex_bitmap_flip, ex_bitmap_target, ex_blend, ex_blend2, ex_blend_bench, ex_blit, ex_clip, ex_convert, ex_curl, ex_disable_screensaver, ex_display_options, ex_draw, ex_draw_bitmap, ex_dualies, ex_expose, ex_filter, ex_font, ex_font_justify, ex_fs_resize, ex_fs_window, ex_gldepth, ex_haiku, ex_icon, ex_iphone, ex_logo, ex_membmp, ex_mixer_pp, ex_mouse, ex_mouse_cursor, ex_mouse_events, ex_multiwin, ex_native_filechooser, ex_nodisplay, ex_noframe, ex_opengl_pixel_shader, ex_physfs, ex_pixelformat, ex_premulalpha, ex_prim, ex_resize2, ex_rotate, ex_scale, ex_stream_seek, ex_subbitmap, ex_timer, ex_transform, ex_vsync, ex_warp_mouse, ex_windows
Most helpful discussions:
- [A5] How do I use the addons? (2)
- al_load_bitmap crash ?! (1)
- KrampusHack 2020: Odd Results With Color Mapping Functions
- Performance plummets after changing screen mode
- Allegro 5 crashes when using al_draw_bitmap inside a list container
- Game Crashing and I'm not sure why?
- allegro_image-5.2.dll - Cannot find or open the PDB file
- Windows: File Selection and Clipboard broken after unicode change
- Some allegro 5 functions not working on some laptops
- To get shaders going.
Other recent discussions:
- Weird flex with my Bitmaps on my Screen
- still al_draw_text() problem
- al_draw_text problem
- Icon on Mac
- Upgrade from Allegro 5.0.10 to Allegro 5.2.5
- Can't load jpg bitmap
- ALLEGRO_NATIVE_PATH_SEP+PHYSFS bug on Windows?
- BITMAP quality gets reduced
- Calling al_install_audio from a DLL?
- Did I skip something?