---
title: "Levels.DetectAuto Method (Bitmap)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Levels_DetectAuto_1_fd4033ef.htm
product: "Graphics Mill"
---

# Levels.DetectAuto Method (Bitmap)
 
Automatically detects the levels for the specified bitmap.
 
**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 DetectAuto(Bitmap bitmap
)
```
 
### Parameters
 
 - bitmap
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md)
The bitmap to analyze.
   
## See Also

### Reference

- [Levels Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Levels.htm.md)
- [DetectAuto Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_Levels_DetectAuto.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
