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)
- Section of Code Lagging the Program
- linking on ubuntu
- Using Sine And Cosine For Rotation
- Shooting Ball From Rotating Bitmap
- Saving Bitmaps
- Problem with al_creat_bitmap
- A5 : timer issue
- Mouse Click Inside Timer Function
Other recent discussions:
- A5 Fullscreen Vs Windowed
- Convert *bitmap to char buffer
- al_load_bitmap question
- MOUSE question
- Mouse Activity Question
- Having Trouble with exit(1) - Stalling Program
- My second game, space invader simplified
- Vivace extra points. Its there a better way of doing this one.
- [A4] What can make load_bitmap return a NULL pointer
- I can't use add ons on Visual Studio 2019