Click or drag to resize

PixelFormatUtilitiesChannelsPerPixel Method

Returns the number of channels in this pixel format

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 ChannelsPerPixel(
	PixelFormat pf
)

Parameters

pf
Type: Atalasoft.ImagingPixelFormat
An input PixelFormat

Return Value

Type: Int32
Remarks
Note that for pixel formats with colormaps, this method will always return 1.
See Also