---
title: "ColorManagementProvider.Convert Method (ColorSpace, Boolean, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorManagementProvider_Convert_3_5d5173a9.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# ColorManagementProvider.Convert Method (ColorSpace, Boolean, Boolean)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Converts the [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) to the specified color space.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void Convert(ColorSpace colorSpace,bool hasAlpha,bool isExtended
)
```
 
### Parameters
 
 - colorSpace
     - Type: [Aurigma.GraphicsMill.ColorSpace](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorSpace.htm.md)
A [ColorSpace](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorSpace.htm.md) to convert the bitmap to.

 - hasAlpha
     - Type: System.Boolean
 `true` if the bitmap will have alpha channel after conversion; otherwise `false`.

 - isExtended
     - Type: System.Boolean
 `true` if the bitmap will be exteneded after conversion; otherwise `false`.
   
## See Also

### Reference

- [ColorManagementProvider Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorManagementProvider.htm.md)
- [Convert Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorManagementProvider_Convert.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
