aspect_ratio
Compute reduced aspect ratios from width and height, or scale width or height to a target ratio.
Instructions
Compute the reduced aspect ratio (16:9, 4:3, 21:9, ...) from a width and height; OR scale a given width OR height to a target ratio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | No | e.g. "16:9", "4:3", "1.85:1". | |
| width | No | ||
| height | No |