ImageData::GetFormatScanlineCount

ImageData::GetFormatScanlineCount
static UPInt SF_STDCALL GetFormatScanlineCount(ImageFormat fmt, UInt32 height, unsigned plane = 0);
Description

GetFormatScanlineCount obtains the number of scan-lines. Typically this is the same as Height but is different for compressed formats.

Parameters
Parameters 
Description 
ImageFormat fmt 
The format of the image data. 
UInt32 height 
The height of the image. 
unsigned plane = 0 
An index value specifying the plane. 
Return Value

The number of scan-lines.