Converts a given color into another color space. Color management is applied.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public Color ConvertColor( Color color, ColorProfile colorProfile )
Type: Aurigma.GraphicsMill.Color
A Color to convert.Type: Aurigma.GraphicsMill.ColorProfile
An input ColorProfile.The destination color space is specified by the DestinationPixelFormat property. The color space of this pixel format is a destination color space.
This method allows converting colors using color management. The provided colorProfile used as an input profile, output profile should be specified by the DestinationProfile property. The TargetDeviceProfile property will be used as well.
If an output profile is not specified or the ColorManagementEngine property is None, color management is disabled.