Brightness / Contrast
Adjust brightness and contrast of a layer.
Syntax
{ "id": "n1", "op": "brightness-contrast", "name": "brightness-contrast", "x": 0, "y": 0, "params": {} }
One out of it starts at "sourcePort": "extension"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:brightness, or read elsewhere as ch('brightness-contrast/brightness').
Inputs
This operator has no input ports.
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
brightness | float | 0 | |
contrast | float | 0 |
Outputs
| Port | Type |
|---|---|
extension | value |
Details
- Category: Output
- Operator:
brightness-contrast
Older projects
Projects saved before documents used operator classes. These convert to brightness-contrast when they open: BrightnessContrastExtensionOp.