check_image_spec
Validate an image's dimensions and orientation against publishing, print, or pipeline requirements. Get pass/fail results with measured size and clear failure reasons, enabling fixes before editing.
Instructions
Check an image against a dimension specification.
Every constraint is optional: 0 means "no limit", and orientation "any" means no orientation requirement. Valid orientation values are: any, square, landscape, portrait, square_or_landscape, square_or_portrait.
Returns pass/fail with the actual measured dimensions and a plain-language reason for each failure. Useful for validating images against a publishing platform's requirements, a print size, or an asset pipeline's conventions before spending time editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| backend | No | ||
| max_width | No | ||
| min_width | No | ||
| max_height | No | ||
| min_height | No | ||
| orientation | No | any |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |