zoom_region
Enlarge a specified image region (or whole image) by a scale factor from 1 to 8, save the zoomed file, and return its path. Accepts optional pixel/normalized coordinates.
Instructions
放大图片指定区域(默认整图 2 倍),保存并返回路径。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | [x1,y1,x2,y2],省略则放大整图 | |
| image | Yes | ||
| scale | No | 放大倍数 1-8,默认 2 | |
| coords | No | 坐标单位,默认 pixel | |
| out_path | No |