---
title: "ColorAdjustmentProvider..::.Brightness Method (array&lt;Boolean&gt;[]()[], Single)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_ColorAdjustmentProvider_Brightness_2_32577a25.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/)

# ColorAdjustmentProvider.Brightness Method (Boolean[], Single)
 
Adjusts image brightness.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub Brightness ( _channels As Boolean(), _amount As Single _
)
```
 
```csharp
public void Brightness(bool[] channels,float amount
)
```
 
### Parameters
 
 - channels
     - Type:  [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) []
Array of flags specifying what channels to apply effect at. If array item is **true**, transform will be applied at channel with appropriate index. Otherwise this channel is skipped.

 - amount
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Value in range [-1, 1] that specifies brightness modifier.
 
## Remarks
  
You can also use [Brightness](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Brightness.htm.md) class to apply this correction.
 
Parameter *amount* is normalized to 1. Depending on pixel format it is scaled to 255 or 65355 inside of the method.
   
## See Also

### Reference

- [ColorAdjustmentProvider Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorAdjustmentProvider.htm.md)
- [Brightness Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_ColorAdjustmentProvider_Brightness.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
