Gets an object providing methods which are responsible for color management.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public ColorManagementProvider ColorManagement { get; }
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");
}