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
)
Public Shared Function ChannelsPerPixel (
pf As PixelFormat
) As Integer
Parameters
- pf
- Type: Atalasoft.ImagingPixelFormat
An input PixelFormat
Return Value
Type:
Int32Remarks Note that for pixel formats with colormaps, this method will always return 1.
See Also