crop_square
Crop any image to the largest possible square, choosing which part of the frame to keep with an anchor option (center, top, bottom, left, right, or corner).
Instructions
Crop to the largest possible square.
anchor picks which part of the frame to keep: center (default), top, bottom, left, right, or a corner such as topleft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | No | center | |
| backend | No | ||
| quality | No | ||
| input_path | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |