static unsigned SF_STDCALL GetFormatBitsPerPixel(ImageFormat fmt, unsigned plane = 0);
GetFormatBitsPerPixel obtains the type of pixel format that the image has.
|
Parameters |
Description |
|
ImageFormat fmt |
The format of the image data, See ImageFormat. |
|
unsigned plane = 0 |
The data plane of the image. |
An unsigned value containing the bits/pixel of the image format.