PipelineElement.IsPixelFormatSupported Method

Verifies whether the specified pixel format is supported by this PipelineElement.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public virtual bool IsPixelFormatSupported(
	PixelFormat format
)

Parameters

format

Type: Aurigma.GraphicsMill.PixelFormat

A PixelFormat value to verify.

Return Value

true if the specified pixel format is supported; otherwise, false.

Remarks

If you try to process an image which has an unsupported pixel format, the UnsupportedPixelFormatException is thrown.

To get the list of all pixel formats supported by this pipeline element, use the SupportedPixelFormats property.

See Also

Reference