bitmap_color_depth(3)

NAME
bitmap_color_depth

SYNOPSIS
#include <allegro.h>

int bitmap_color_depth(BITMAP *bmp);

DESCRIPTION
Returns the color depth of the specified bitmap (8, 15, 16, 24, or 32). Note that calling it on the 'screen' bitmap will return the pixel format currently in use, as specified by the latest call to set_color_depth(), once a graphics mode has been set.

SEE ALSO
set_color_depth(3), bitmap_mask_color(3)