| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Determine the number of bits per pixel for the specified format
#include <img.h> #define IMG_FMT_BPP(_fmt) ...
img
This macro determines the number of bits per pixel for the specified data format.
The number of bits required to represent a single pixel.
Image library
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |