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 |