---
title: "ChannelsProvider Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ChannelsProvider.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/)

# ChannelsProvider Class
 
This class contains methods and properties used by [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) to provide access to bitmap channels.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
<DefaultMemberAttribute("Channel")> _
Public Class ChannelsProvider _Inherits LockableObject
```
 
```csharp
[DefaultMemberAttribute("Channel")]
public class ChannelsProvider : LockableObject
```
 
## Remarks
 This class enables you to extract bitmap channels to separate grayscale image, or replace some channel with another grayscale bitmap. You can do that using [Channel\[Int32\]](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_ChannelsProvider_Channel_1_e1836fc4.htm.md) method. Here you can add alpha channel ([AddAlpha(Single)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ChannelsProvider_AddAlpha_1_7a94462e.htm.md) method) or remove it ([DiscardAlpha(Color)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ChannelsProvider_DiscardAlpha_1_929597d9.htm.md) method). Using [Transparentize(Color, Single)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ChannelsProvider_Transparentize_2_d079cd70.htm.md) method you can make alpha channel transparent at the areas with specified color.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [Aurigma.GraphicsMill.LockableObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_LockableObject.htm.md)
        - Aurigma.GraphicsMill.ChannelsProvider
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
 
## Object Model

[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_26.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ChannelsProvider.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel1.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_27.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
  
## See Also

### Reference

- [ChannelsProvider Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_ChannelsProvider.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
