Bitmap.ColorManagement Property

Gets an object providing methods which are responsible for color management.

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

Syntax

C#
public ColorManagementProvider ColorManagement { get; }

Property Value

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

Examples

C#
using (var bitmap = new Bitmap(@"Images\cmyk.jpg"))
{
    bitmap.ColorManagement.ColorManagementEngine = ColorManagementEngine.LittleCms;
    if (bitmap.ColorProfile == null)
        bitmap.ColorProfile = new ColorProfile(@"_Input\ColorProfiles\EuroscaleCoated.icc");
    bitmap.ColorManagement.DestinationProfile = ColorProfile.FromSrgb();
    bitmap.ColorManagement.Convert(PixelFormat.Format24bppRgb);
    bitmap.Save(@"Images\Output\out.jpg");
}

See Also

Reference

Manual