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

Brightness.CalculateAutoParameters Method (BitmapData, 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 ( _
	bitmapData As BitmapData, _
	<OutAttribute> ByRef amount As Single, _
	<OutAttribute> ByRef lut As Lut _
)
C#
public static void CalculateAutoParameters(
	BitmapData bitmapData,
	out float amount,
	out Lut lut
)

Parameters

bitmapData

Type: Aurigma.GraphicsMill.BitmapData

BitmapData 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