crop_image
Precisely crop images by defining specific pixel coordinates for the left, top, right, and bottom boundaries. Ideal for extracting exact sections of images for focused processing or analysis.
Instructions
裁剪图片
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bottom | Yes | 裁剪区域下边界坐标(像素) | |
image_source | Yes | 图片源,可以是文件路径或base64编码的图片数据 | |
left | Yes | 裁剪区域左边界坐标(像素) | |
right | Yes | 裁剪区域右边界坐标(像素) | |
top | Yes | 裁剪区域上边界坐标(像素) |