Skip to main content
The 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

ParameterDescriptionData TypeRequiredRange
imageThe input image to be cropped.IMAGEYes-
widthThe width of the crop area (default: 512).INTYes1 to 8192
heightThe height of the crop area (default: 512).INTYes1 to 8192

Outputs

Output NameDescriptionData Type
imageThe resulting image after the center crop operation.IMAGE
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 1b22529602e3aca816b583158c4bb5aa51de3478ac8068c2a69a3392fb12746f