> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# CenterCropImages - ComfyUI Built-in Node Documentation

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

中心裁剪图像节点从图像中心裁剪出指定宽度和高度的区域。它会计算输入图像的中心区域，并提取出定义尺寸的矩形区域。如果请求的裁剪尺寸大于图像本身，裁剪将被限制在图像的边界内。

## 输入

| 参数      | 描述                | 数据类型  | 是否必填 | 范围       |
| ------- | ----------------- | ----- | ---- | -------- |
| `image` | 待裁剪的输入图像。         | IMAGE | 是    | -        |
| `宽度`    | 裁剪区域的宽度（默认值：512）。 | INT   | 是    | 1 至 8192 |
| `高度`    | 裁剪区域的高度（默认值：512）。 | INT   | 是    | 1 至 8192 |

## 输出

| 输出名称 | 描述            | 数据类型  |
| ---- | ------------- | ----- |
| `图像` | 中心裁剪操作后生成的图像。 | IMAGE |

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

***

**Source fingerprint (SHA-256):** `4361b6630ab1833e035d6ab04a130fb36fff33cddc36b54ff5a2d8e04534a555`
