Click or drag to resize

PixelFormatUtilitiesImageSize Method

Given a pixel format, ImageSize will return the number of bytes necessary to represent that 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 ImageSize(
	PixelFormat pf,
	int w,
	int h
)

Parameters

pf
Type: Atalasoft.ImagingPixelFormat
An input PixelFormat
w
Type: SystemInt32
The width of the image
h
Type: SystemInt32
The height of the image

Return Value

Type: Int32
See Also