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

Lut.BuildFromGamma Method

Builds a LUT which makes the gamma correction.

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

Syntax

Visual Basic
Public Sub BuildFromGamma ( _
	gamma As Single, _
	extended As Boolean _
)
C#
public void BuildFromGamma(
	float gamma,
	bool extended
)

Parameters

gamma

Type: System.Single

Gamma value (typically in range [1, 3]).
extended

Type: System.Boolean

Value that specifies if LUTshould be build for extended (16 bits per channel) or non-extended (8 bits per channel) bitmaps. If it is true, LUT entries number is 65536 and maximum value is 65535, otherwise entries number is 256 and maximum value is 255.

See Also

Reference