> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ImageCrop - ComfyUI Built-in Node Documentation

> Complete documentation for the ImageCrop node in ComfyUI. Learn its inputs, outputs, parameters and usage.

`ImageCrop` 节点用于将图像从指定的 x 和 y 坐标开始裁剪为指定的宽度和高度。此功能对于聚焦图像的特定区域或调整图像大小以满足特定要求至关重要。

## 输入

| 字段   | 描述                                            | 数据类型    |
| ---- | --------------------------------------------- | ------- |
| `图像` | 待裁剪的输入图像。此参数至关重要，它定义了源图像，将根据指定的尺寸和坐标从中提取一个区域。 | `IMAGE` |
| `宽度` | 指定裁剪后图像的宽度。此参数决定了最终裁剪图像的宽度。                   | `INT`   |
| `高度` | 指定裁剪后图像的高度。此参数决定了最终裁剪图像的高度。                   | `INT`   |
| `x`  | 裁剪区域左上角的 x 坐标。此参数设置了裁剪宽度维度的起始点。               | `INT`   |
| `y`  | 裁剪区域左上角的 y 坐标。此参数设置了裁剪高度维度的起始点。               | `INT`   |

## 输出

| 字段   | 描述                                       | 数据类型    |
| ---- | ---------------------------------------- | ------- |
| `图像` | 裁剪操作后得到的裁剪图像。此输出对于指定图像区域的进一步处理或分析具有重要意义。 | `IMAGE` |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ImageCrop/zh.md)
