Click or drag to resize

PixelFormatUtilitiesBitsPerPixel Method

Returns the number of bits used per pixel in total.

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

Parameters

pf
Type: Atalasoft.ImagingPixelFormat
An input PixelFormat

Return Value

Type: Int32

[Missing <returns> documentation for "M:Atalasoft.Imaging.PixelFormatUtilities.BitsPerPixel(Atalasoft.Imaging.PixelFormat)"]

Remarks
Note than some pixel formats do not use all the bits for image data. For example, Pixel32bppBgr only uses 24 bits for image data, but BitsPerPixel will return 32 for this format.
See Also