ConvertConfig.SetRedCurve Method

Definition

Namespace: P1.ImageSdk

Set the curve for red 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 SetRedCurve(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: