static ImageSize SF_STDCALL GetFormatPlaneSize(ImageFormat fmt, const ImageSize& sz, unsigned plane = 0);
GetFormatPlaneSize returns the image size of a plane for a particular image format.
Parameters |
Description |
ImageFormat fmt |
A variable of type ImageFormat which specifies the format type. |
const ImageSize& sz |
The size of the top level image. |
unsigned plane = 0 |
The plane index. |
Returns a variable of type ImageSize specifying the image size of a plane for a particular image format.