auto_crop
Automatically crop images to remove unwanted borders, whitespace, or solid backgrounds. Specify input, output, and optional threshold or background color.
Instructions
Automatically crop image to remove borders, whitespace, or solid color backgrounds
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Input image path or URL | |
| output | Yes | Output file path | |
| threshold | No | Color similarity threshold (0-100, default 10) | |
| backgroundColor | No | Background color to detect and remove (e.g., "#ffffff", "transparent") |