FreeImage.GetPitch Method

FreeImage.NET

FreeImageGetPitch Method
Returns the width of the bitmap in bytes, rounded to the next 32-bit boundary, also known as pitch or stride or scan width.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static uint GetPitch(
	FIBITMAP dib
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.

Return Value

Type: UInt32
With of the bitmap in bytes.
See Also