> ## 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.

# ImageCropV2 - ComfyUI Built-in Node Documentation

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

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ImageCropV2/en.md)

The Image Crop node extracts a rectangular section from an input image. You define the region to keep by specifying its top-left corner coordinates and its width and height. The node then returns the cropped portion of the original image.

## Inputs

| Parameter     | Data Type   | Required | Range | Description                                                                                                                                                                                                                                                                     |
| ------------- | ----------- | -------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `image`       | IMAGE       | Yes      | N/A   | The input image to be cropped.                                                                                                                                                                                                                                                  |
| `crop_region` | BOUNDINGBOX | Yes      | N/A   | Defines the rectangular area to extract from the image. It is specified by `x` (horizontal start), `y` (vertical start), `width`, and `height`. If the defined region extends beyond the image's borders, it will be automatically adjusted to fit within the image dimensions. |

**Note on Region Constraints:** The crop region is automatically constrained to stay within the bounds of the input image. If the specified `x` or `y` coordinate is greater than the image's width or height, it will be set to the maximum valid position. The resulting crop width and height will be adjusted so the region does not exceed the image's edges.

## Outputs

| Output Name | Data Type | Description                                      |
| ----------- | --------- | ------------------------------------------------ |
| `image`     | IMAGE     | The cropped section of the original input image. |
