al_get_bitmap_format
int al_get_bitmap_format(ALLEGRO_BITMAP *bitmap)
Introduced in 5.0.0
Returns the pixel format of a bitmap.
See also: ALLEGRO_PIXEL_FORMAT, al_set_new_bitmap_flags
Examples: ex_draw, ex_pixelformat
Most helpful discussions:
- You're such a disappointment.
- About load bitmap
- Suggestions for optimization
- Performance issue regarding al_put_pixel and raycasting
- Allegro 5 - Bitmap Deferred Corruption(?)
- Vanille code crashes
- al_clone_bitmap() of backbuffer gives bad results with OGL
- "al_put_pixel" not working
- Using ALLEGRO_DISPLAY_CLOSE multiple times
- [A5] Masked drawing?
Other recent discussions:
- Allegro Beginner questions
- Collision with Mappy
- [A5] pixel alpha // al_put_pixel() ?! game loop
- A5 - printing text to memory bitmap
- [A5] How to load an image from memory ?
- Getting size of ALLEGRO_BITMAP
- Drawing to bitmaps and collisions not working
- [Allegro 5] Bitmap does not appear, unless clear_to_color is called
- Allegro 5.1.5 and resizing problems
- [C++] al_put_pixel() problem? Bitmap not rendering correctly.