---
title: "RemoveAlpha Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_RemoveAlpha.htm
product: "Graphics Mill"
---

# RemoveAlpha Class
 
Removes the alpha channel from an image.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public sealed class RemoveAlpha : Transform
```
 
## Remarks
  
If the [BackgroundColor](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_RemoveAlpha_BackgroundColor.htm.md) property is null, the alpha channel is just discarded without affecting other channels. Otherwise the alpha channel is flattened using specified color (i.e. each pixel is alpha-blended with this color).
 
## Inheritance Hierarchy
  
- System.Object
    - [Aurigma.GraphicsMill.PipelineElement](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_PipelineElement.htm.md)
        - [Aurigma.GraphicsMill.Transforms.Transform](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Transform.htm.md)
            - Aurigma.GraphicsMill.Transforms.RemoveAlpha
 
## 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

- [RemoveAlpha Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Transforms_RemoveAlpha.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
