PixelFormatUtilitiesRowStride Method (Int32, 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(
int bitsPerPixel,
int w
)
Public Shared Function RowStride (
bitsPerPixel As Integer,
w As Integer
) As Integer
Parameters
- bitsPerPixel
- Type: SystemInt32
The number of bits per pixel - w
- Type: SystemInt32
The width of an image in pixels
Return Value
Type:
Int32See Also