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

Lut.BuildFromArray Method

Builds a LUT from specified array.

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

Syntax

Visual Basic
Public Sub BuildFromArray ( _
	array As Integer() _
)
C#
public void BuildFromArray(
	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

Method 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