adjust_brightness_contrast
Adjust a layer's brightness and contrast by setting values from -127 to +127 to correct exposure and tonal range. Target a specific image and layer or use the active layer.
Instructions
Adjust brightness and contrast of a layer.
Parameters:
brightness: -127 to +127 (default 0)
contrast: -127 to +127 (default 0)
image_index: Target image index (default 0)
layer_name: Layer to adjust; defaults to active layer
Returns status dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contrast | No | ||
| brightness | No | ||
| layer_name | No | ||
| image_index | No |