ColorConverter.ConvertColor Method (Color)

Converts a given color into another color space. Color management is not applied.

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

Syntax

C#
public Color ConvertColor(
	Color color
)

Parameters

color

Type: Aurigma.GraphicsMill.Color

A Color to convert.

Return Value

A Color converted to another color space.

Remarks

The destination color space is specified by the DestinationPixelFormat property. The color space of this pixel format is a destination color space.

If you want to apply color management during conversion of this color, use the ConvertColor(Color, ColorProfile) overload of this method. This profile will be used as an input profile, output profile is specified by the DestinationProfile property. The TargetDeviceProfile property will be used as well.

See Also

Reference