Calculate the minimum number of bytes required to represent a pixel run
#include <img/img.h> #define IMG_FMT_BPL(_fmt, _w) ...
This macro calculates the minimum number of bytes required to represent a run of pixels.
The minimum number of bytes required per scanline of the frame.
Image library
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |