app.command.ColorCurve {
ui=true,
channels=FilterChannels...,
curve={ Point, Point, Point... }
}ui: Shows the dialog on the screen,trueby default. Set tofalseto apply the color curve filter automatically without asking to the user for the change.channels: A combination of FilterChannels with bitwise OR (|) operator. By default it is equal to: FilterChannels.RED | FilterChannels.GREEN | FilterChannels.BLUE | FilterChannels.GRAY.curve: Array of points where X is the input value and Y the output value.
app.command.ColorCurve {
ui=true,
channels=FilterChannels.RED,
curve={ { 0, 0 }, { 255, 128 } }
}