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

Lut Constructor (Int32[])

Creates new Lut class instance and calls BuildFromArray(Int32[]) method to initialize the LUT array.

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

Syntax

Visual Basic
Public Sub New ( _
	array As Integer() _
)
C#
public Lut(
	int[] array
)

Parameters

array

Type: System.Int32 []

An array containing LUT entries. If this array contains 256 elements, LUT considered as non-extended. If array contains 65536 elements, LUT is extended. All other array length values are incorrect.

Remarks

This constructor checks if LUT entries are in proper range (from 0 to maximum luminosity value). If it finds out that some entry exceeds this range, exception is thrown.

See Also

Reference