ColorManagementProvider.ColorManagementEngine Property

Gets or sets color management engine which will be used during image transformation. Graphics Mill supports the following engines: LittleCMS and Adobe CMM. The property also allows disabling color management and perform transformation without color matching.

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

Syntax

C#
public ColorManagementEngine ColorManagementEngine { get; set; }

Property Value

A ColorManagementEngine to use.

Remarks

Color management will be applied during transformation of image between color formats in case if all the following conditions are met:

  1. This property is set to LittleCms or AdobeCmm.
  2. The Bitmap which needs to be transformed has a ColorProfile initialized with a correct color profile (e.g. it is embedded color profile loaded from image file, or this property is initialized after the image has been loaded or created).
  3. An output color profile is initialized via the DestinationProfile property.

If you do not need to apply color management during image transformation, set this property to None.

Examples

C#
using (var bitmap = new Bitmap(@"Images\in.jpg"))
{
    bitmap.ColorManagement.ColorManagementEngine = ColorManagementEngine.LittleCms;
    //bitmap.ColorManagement.ColorManagementEngine = ColorManagementEngine.AdobeCmm;
}

See Also

Reference

Manual