Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap.ColorManagement Property

Returns object providing methods which are responsible for color management.

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

Syntax

Visual Basic
Public ReadOnly Property ColorManagement As ColorManagementProvider
C#
public ColorManagementProvider ColorManagement { get; }

Property Value

ColorManagementProvider class instance providing methods which are responsible for color management.

Examples

Visual Basic
Dim bitmap As New Aurigma.GraphicsMill.Bitmap

'Choose LittleCMS color management engine
bitmap.ColorManagement.ColorManagementEngine = Aurigma.GraphicsMill.Transforms.ColorManagementEngine.LittleCms

'Load CMYK image with embedded ICM profile from file
bitmap.Load("C:\Horses.jpg")

'Assing output RGB profile for conversion
bitmap.ColorManagement.RgbColorProfile = Aurigma.GraphicsMill.ColorProfile.FromSrgb

'Convert to RGB
bitmap.ColorManagement.ConvertToContinuous( _
 Aurigma.GraphicsMill.ColorSpace.Rgb, False, bitmap.IsExtended)
C#
Aurigma.GraphicsMill.Bitmap bitmap = 
    new Aurigma.GraphicsMill.Bitmap();

//Choose LittleCMS color management engine
bitmap.ColorManagement.ColorManagementEngine = Aurigma.GraphicsMill.Transforms.ColorManagementEngine.LittleCms;

//Load CMYK image with embedded ICM profile from file
bitmap.Load(@"C:\Horses.jpg");

//Assing output RGB profile for conversion
bitmap.ColorManagement.RgbColorProfile = Aurigma.GraphicsMill.ColorProfile.FromSrgb();

//Convert to RGB
bitmap.ColorManagement.ConvertToContinuous( 
    Aurigma.GraphicsMill.ColorSpace.Rgb, false, bitmap.IsExtended);

See Also

Reference