ConvertConfig.SetLumaCurve Method

Definition

Namespace: P1.ImageSdk

Set the curve for luma values as known from the curves tool in most image editors. The curve is defined as a vector of discreete coordinate pairs (x,y) that is interpolated.

public ConvertConfig SetLumaCurve(Point2D[] points);

Parameters:

points

is an array of discreete coordinate pairs (x,y) in the range (0.0,0.0)-(1.0,1.0). Default is a linear mapping (0.0,0.0)-(1.0,1.0)

Returns: