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

ColorAdjustmentProvider.AutoContrast Method (Boolean[])

Automatically adjusts contrast.

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

Syntax

Visual Basic
Public Sub AutoContrast ( _
	channels As Boolean() _
)
C#
public void AutoContrast(
	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 Contrast class to apply this correction (with Auto property set to true).

See Also

Reference