---
title: "Brightness.CalculateAuto Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Brightness_CalculateAuto_1_fd4033ef.htm
product: "Graphics Mill"
---

# Brightness.CalculateAuto Method 
 
Returns a brightness modifier which this class would apply in automatic mode.
 
**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 static Lut CalculateAuto(Bitmap bitmap
)
```
 
### Parameters
 
 - bitmap
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
A [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) for which the brightness modifier is calculated automatically.
 
### Return Value
A [Lut](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Lut.htm.md) which represents the brightness modification.
   
## See Also

### Reference

- [Brightness Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Brightness.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
