batch_resize
Resize all open images to a common target size using pixel dimensions or a proportional scale factor, with optional aspect ratio preservation for batch processing.
Instructions
Resize all open images to a common target size.
Parameters:
width / height: Target dimensions in pixels (provide one or both)
scale_factor: Proportional scale (e.g. 0.5 = 50%); overrides width/height if set
maintain_aspect: Preserve aspect ratio when only one dimension is given (default True)
Returns: {results: [{image_id, old_width, old_height, new_width, new_height}], count}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| scale_factor | No | ||
| maintain_aspect | No |