Applies levels correction to the bitmap.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void Levels(
float minimumLevel,
float maximumLevel,
float shadows,
float midtones,
float highlights,
HistogramMode histogramMode
)
Type: System.Single
The minimum output level in range [0, 1].Type: System.Single
The maximum output level in range [0, 1].Type: System.Single
The shadows level modifier in range [0, 1].Type: System.Single
The midtones modifier in range [0.1, 10].Type: System.Single
The highlights level modifier in range [0, 1].Type: Aurigma.GraphicsMill.HistogramMode
A HistogramMode value that specifies how to build histogram during levels adjusting.Using this method you can apply a tone correction similar to Adobe® Photoshop® Levels effect. Input paramaters work in the same way as appropriate sliders in Adobe® Photoshop®.