Aurigma Graphics Mill 5.5 for .NET
PixelFormatConverter..::.ConvertColor Method (Color, ColorProfile)
Converts Color value into another color space. Color management is applied.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
Visual Basic
Public Function ConvertColor ( _ color As Color, _ profile As ColorProfile _ ) As Color
C#
public Color ConvertColor( Color color, ColorProfile profile )
Parameters
- color
-
Type: Aurigma.GraphicsMill..::.Color
Color to convert to another color space.
- profile
-
Type: Aurigma.GraphicsMill..::.ColorProfile
ColorProfile class instance that is used as an input profile.
Return Value
Color converted to another color space.Remarks
The destination color space is specified by DestinationPixelFormat property. The color space of this pixel format is a destination color space.
During conversion with this method, the color management will be applied. Argument 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.