---
title: "BrightnessContrast Class"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_BrightnessContrast.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"
---

# BrightnessContrast Class

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Corrects brightness and contrast of 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 BrightnessContrast : MaskTransform
```
 
## Remarks
  
This class provides simple brightness and contrast adjustment functionality. Being extremely easy-to-use for end user, it is used by professional retouchers very seldom (because as usual it leads to losses of details in highlights and/or shadows).
 
It provides two parameters - brightness modifier ([Brightness](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_BrightnessContrast_Brightness.htm.md) property) and contrast modifier ([Contrast](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_BrightnessContrast_Contrast.htm.md) property).
 
If you want to modify only brightness or contrast, you can use [Brightness](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Brightness.htm.md) or [Contrast](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Contrast.htm.md) transform. It will work slightly faster.
 
## 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.MaskTransform](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_MaskTransform.htm.md)
                - Aurigma.GraphicsMill.Transforms.BrightnessContrast
 
## 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

- [BrightnessContrast Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_Transforms_BrightnessContrast.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
