This documentation is for the old version. Go to the latest Graphics Mill docs

ColorAdjustmentProvider.AutoBrightness Method (Boolean[])

Automatically adjusts brightness.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub AutoBrightness ( _
	channels As Boolean() _
)
C#
public void AutoBrightness(
	bool[] channels
)

Parameters

channels

Type: System.Boolean []

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.

Remarks

You can also use Brightness class to apply this correction (with Auto property set to true).

See Also

Reference