Trim
photopea_trimTrim empty borders from the active document by removing transparent pixels or corner-matching colors. Useful after background removal or before exporting icons.
Instructions
Trim empty borders from the active document: transparent pixels, or pixels matching the top-left or bottom-right corner color. Useful after removing a background or before exporting an icon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | What counts as empty border | transparent |