browser-image
    Preparing search index...

    Tone curve parameters. Each curve is a list of points joined by a smooth curve that never overshoots between them (monotone cubic interpolation). Points are sorted by input; a curve that does not start at input 0 or end at input 1 gets the point (0, 0) or (1, 1) added.

    interface CurveOptions {
        points?: readonly CurvePoint[];
        red?: readonly CurvePoint[];
        green?: readonly CurvePoint[];
        blue?: readonly CurvePoint[];
    }
    Index
    points?: readonly CurvePoint[]

    Curve for all channels. Default: the straight line (no change).

    red?: readonly CurvePoint[]

    Extra curve for red, applied after points. No effect on monochrome images.

    green?: readonly CurvePoint[]

    Extra curve for green, applied after points.

    blue?: readonly CurvePoint[]

    Extra curve for blue, applied after points.