batch_resize
Resize multiple images simultaneously to specified dimensions while optionally maintaining aspect ratio and selecting output format using the Image Processing MCP Server.
Instructions
批量调整图片大小
Input Schema
Name | Required | Description | Default |
---|---|---|---|
image_sources | Yes | 图片源列表,每个元素可以是文件路径或base64编码的图片数据 | |
keep_aspect_ratio | No | 是否保持宽高比 | |
output_format | No | 输出格式:PNG、JPEG、WEBP 等 | PNG |
target_height | Yes | 目标高度(像素) | |
target_width | Yes | 目标宽度(像素) |