This documentation is for the old version. Go to the latest Graphics Mill docs

PixelFormatConverter.ConvertColor Method (Color)

Converts Color value into another color space. Color management is not applied.

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


Visual Basic
Public Function ConvertColor ( _
	color As Color _
) As Color
public Color ConvertColor(
	Color color



Type: Aurigma.GraphicsMill.Color

Color to convert to another color space.

Return Value

Color converted to another color space.


The destination color space is specified by 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 an overload which takes a color profile as a parameter. This profile will be used as an input profile, output profiles are specified by CmykColorProfile, RgbColorProfile, and GrayScaleColorProfile properties. Property TargetColorProfile will be used as well.

See Also