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

Contrast.CalculateAutoParameters Method (Bitmap, Lut %)

Returns contrast modifier value which the class would apply in automatic mode.

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

Syntax

Visual Basic
Public Shared Sub CalculateAutoParameters ( _
	bitmap As Bitmap, _
	<OutAttribute> ByRef lut As Lut _
)
C#
public static void CalculateAutoParameters(
	Bitmap bitmap,
	out Lut lut
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance for which the contrast modifier is calculated automatically.
lut

Type: Aurigma.GraphicsMill.Transforms.Lut %

Out parameter. LUT which represents this contrast modification will be written into this parameter.

See Also

Reference