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.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe Center Crop Images node crops an image from its center to a specified width and height. It calculates the central region of the input image and extracts a rectangular area of the defined dimensions. If the requested crop size is larger than the image, the crop will be constrained to the image’s boundaries.
Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
image | IMAGE | Yes | - | The input image to be cropped. |
width | INT | Yes | 1 to 8192 | The width of the crop area (default: 512). |
height | INT | Yes | 1 to 8192 | The height of the crop area (default: 512). |
Outputs
| Output Name | Data Type | Description |
|---|---|---|
image | IMAGE | The resulting image after the center crop operation. |
Source fingerprint (SHA-256):
1b22529602e3aca816b583158c4bb5aa51de3478ac8068c2a69a3392fb12746f