adjust_brightness_contrast
Adjusts the brightness and contrast of a layer or region in a .aseprite file, with optional frame and area parameters.
Instructions
Native Brightness/Contrast filter (app.command.BrightnessContrast).
Args: filename: Aseprite file to modify layer_name: layer to adjust (empty = active layer) frame_index: 1-based frame brightness: -100..100 contrast: -100..100 x, y, width, height: optional region (width>0 & height>0 to scope)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | No | ||
| frame_index | No | ||
| brightness | No | ||
| contrast | No | ||
| x | No | ||
| y | No | ||
| width | No | ||
| height | No |