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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static int ChannelsPerPixel(
	PixelFormat pf
)

Parameters

pf
Type: Atalasoft.ImagingPixelFormat
An input PixelFormat

Return Value

Type: Int32

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

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