---
title: "ColorManagementProvider..::.ConvertToContinuous Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ColorManagementProvider_ConvertToContinuous_3_5d5173a9.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# ColorManagementProvider.ConvertToContinuous Method 
 
Applies color conversion between various color spaces.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub ConvertToContinuous ( _colorSpace As ColorSpace, _hasAlpha As Boolean, _isExtended As Boolean _
)
```
 
```csharp
public void ConvertToContinuous(ColorSpace colorSpace,bool hasAlpha,bool isExtended
)
```
 
### Parameters
 
 - colorSpace
     - Type: [Aurigma.GraphicsMill.ColorSpace](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorSpace.htm.md)
 [ColorSpace](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorSpace.htm.md) value specifying target color space.

 - hasAlpha
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value specifying if to add (or remove) alpha channel. 
**Note**
If you pass **false** and current pixel format has alpha channel, Graphics Mill for .NET will not flatten alpha channel with image. It will just remove it. So if you need to flatten alpha channel with some color, you should use [DiscardAlpha(Color)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ChannelsProvider_DiscardAlpha_1_929597d9.htm.md) method first.

 - isExtended
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value specifying if to convert to the extended pixel format (16 bits per channel).
   
## See Also

### Reference

- [ColorManagementProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorManagementProvider.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
