resize_image
Resize an image to target dimensions. Supports fit modes: 'cover' (crop to fill), 'contain' (fit within, letterbox), 'stretch' (exact size). Useful for preparing images for specific platforms, thumbnails, or social media. FREE. (FREE)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Resize mode: 'contain' (fit within bounds, preserve aspect ratio), 'cover' (crop to fill), 'stretch' (exact size, may distort) | contain |
| image | Yes | Base64-encoded PNG/JPEG image | |
| width | Yes | Target width in pixels (1-8192) | |
| format | No | Output format | png |
| height | Yes | Target height in pixels (1-8192) | |
| quality | No | JPEG/WebP quality (1-100) |