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

Brightness.CalculateAutoParameters Method (Bitmap, Single %, Lut %)

Returns brightness 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 amount As Single, _
	<OutAttribute> ByRef lut As Lut _
)
C#
public static void CalculateAutoParameters(
	Bitmap bitmap,
	out float amount,
	out Lut lut
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance for which the brightness modifier is calculated automatically.
amount

Type: System.Single %

Out parameter. Value which contains brightness modifier which would be used automatically will be written into this parameter.
lut

Type: Aurigma.GraphicsMill.Transforms.Lut %

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

See Also

Reference