Click or drag to resize

PixelFormatUtilitiesRowStride Method (PixelFormat, Int32)

Calculates the width in bytes of a row in an image.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static int RowStride(
	PixelFormat pf,
	int w
)

Parameters

pf
Type: Atalasoft.ImagingPixelFormat
An input PixelFormat
w
Type: SystemInt32
The width of an image in pixels

Return Value

Type: Int32
See Also