resize_image
Resize images to target dimensions using high-quality Lanczos resampling, preserving aspect ratio to prevent distortion when needed.
Instructions
Resize an image with high-quality Lanczos resampling. If keep_aspect is true, fits within width x height without distorting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| image_path | Yes | ||
| keep_aspect | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |