---
title: "ColorManagementProvider Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorManagementProvider.htm
product: "Graphics Mill"
---

# ColorManagementProvider Class
 
Contains methods and properties used to provide color management.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public sealed class ColorManagementProvider : IDisposable
```
 
## Remarks
  
This class is accessible via the [Bitmap.ColorManagement](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Bitmap_ColorManagement.htm.md) property. You should use it if you need to apply color management during color conversions, drawing, and other operations where it is applicable.
 
To choose the color management engine, use the [ColorManagementEngine](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorManagementProvider_ColorManagementEngine.htm.md) property. You can specify an output profile ([DestinationProfile](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorManagementProvider_DestinationProfile.htm.md) property) and profile for target device ([TargetDeviceProfile](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorManagementProvider_TargetDeviceProfile.htm.md) property). A color management intent parameter is accessible through the [TransformationIntent](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorManagementProvider_TransformationIntent.htm.md) property.
 
After you set color management up, you can apply color conversions using the [Convert()](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorManagementProvider_Convert.htm.md) methods.
 
## Examples
  
```csharp
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");
}
```
 
## Inheritance Hierarchy
  
- System.Object
    - Aurigma.GraphicsMill.ColorManagementProvider
 
## Thread Safety
 Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [ColorManagementProvider Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_ColorManagementProvider.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
- [Bitmap.ColorManagement](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Bitmap_ColorManagement.htm.md)

### Manual

- [Converting Colors with Color Management](https://www.graphicsmill.com/docs/gm/converting-color-with-color-management.htm.md)
