5.3.4.90. Function image_get_pixsize

5.3.4.90.1. Function Documentation

size_t image_get_pixsize(const enum pixfmt_e pixfmt)

Return the number of bytes to contain one pixel depending on the given pixel format.

Parameters

pixfmt – The pixel format.

Returns

The pixel size in bytes.