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

Lut.BuildFromSpline Method

Builds LUT defined as a curve which passes specified set of points.

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


Visual Basic
Public Sub BuildFromSpline ( _
	points As PointF(), _
	extended As Boolean _
public void BuildFromSpline(
	PointF[] points,
	bool extended



Type: System.Drawing.PointF []

Array of curve points. Coordinates are normalized on maximum possible luminosity value, i.e. you specify values in range [0, 1] and they are stretched either to [0, 255] or [0, 65535] depending on extended property value. Note, you still can specify values that are out of [0, 1] range, and algorithm automatically truncates the curve. If all points will be strictly inside of this range, algorithm will add points at:
  • x equal to 0 and y equal to Y-coordinate of the leftmost point.
  • x equal to 1 and y equal to Y-coordinate of the rightmost point.

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