ImageData::GetFormatBitsPerPixel

ImageData::GetFormatBitsPerPixel
static unsigned SF_STDCALL GetFormatBitsPerPixel(ImageFormat fmt, unsigned plane = 0);
Description

GetFormatBitsPerPixel obtains the type of pixel format that the image has.

Parameters
Parameters 
Description 
ImageFormat fmt 
The format of the image data, See ImageFormat
unsigned plane = 0 
The data plane of the image. 
Return Value

An unsigned value containing the bits/pixel of the image format.