batch_fit_to_spec
Bulk-resize every image in a folder to meet min/max width and height specifications, saving conforming copies and reporting final dimensions and pass/fail status for each file.
Instructions
Make every image in a folder satisfy one dimension specification.
The common bulk case: point it at a folder of photos and get conforming copies, with each file's final dimensions and pass/fail reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | No | center | |
| suffix | No | _out | |
| backend | No | ||
| pattern | No | ||
| quality | No | ||
| input_dir | Yes | ||
| max_width | No | ||
| min_width | No | ||
| recursive | No | ||
| max_height | No | ||
| min_height | No | ||
| output_dir | Yes | ||
| orientation | No | any |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |