Click or drag to resize

PixelFormatUtilitiesIsColor Method

Indicates whether or not a pixel format represents a color image

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

Parameters

pf
Type: Atalasoft.ImagingPixelFormat
An input PixelFormat

Return Value

Type: Boolean
True if the pixel format is a color format, false if it is gray or colormapped.
See Also