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:

Other recent discussions: