Add Adjustment Layer
photopea_add_adjustment_layerAdd a non-destructive adjustment layer above the active layer to change how layers below look without touching their pixels; hide or delete it later to revert.
Instructions
Add a non-destructive adjustment layer above the active layer. It changes how all layers below look without touching their pixels and can be hidden or deleted later. Use apply_adjustment to change one layer's pixels instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hue | No | hue_sat: hue shift in degrees | |
| type | Yes | 'brightness' uses brightness/contrast, 'hue_sat' uses hue/saturation/lightness, 'levels' uses inputMin/inputMax/gamma | |
| gamma | No | levels: midtone gamma, 1 = unchanged | |
| contrast | No | brightness: -50..100 | |
| inputMax | No | levels: input white point 2..255 | |
| inputMin | No | levels: input black point 0..253 | |
| lightness | No | hue_sat: -100..100 | |
| brightness | No | brightness: -150..150 | |
| saturation | No | hue_sat: -100..100 |