run_curves
Apply a CurvesTransformation to a PixInsight view using custom control points for RGB, lightness, saturation, or individual color channels to adjust tones and colors.
Instructions
Apply a CurvesTransformation to a view. Provide control points as [[x,y], ...] for the desired channel: "RGB" (all), "L" (lightness), "S" (saturation), "R", "G", "B".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"view_id": "<view_id>",
"channel": "<channel>",
"points": "<points>"
},
"name": "run_curves"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Control points [[x,y], ...] from (0,0) to (1,1). Include endpoints. | |
| channel | Yes | Channel to apply the curve to | |
| view_id | Yes | View ID to process |