Visit ComfyUI Online for ready-to-use ComfyUI environment
Extract specific image regions with precision using ComfyUI Node ImageCrop for focused editing and manipulation tasks.
The ImageCrop
node is designed to allow you to extract a specific rectangular region from an image. This can be particularly useful when you want to focus on a particular area of an image, remove unwanted sections, or prepare an image for further processing. By specifying the dimensions and position of the crop area, you can precisely control which part of the image is retained. This node is essential for tasks that require image manipulation and transformation, providing a straightforward way to isolate and work with specific parts of an image.
This parameter represents the input image that you want to crop. The image should be in a format that the node can process, typically a multi-dimensional array representing pixel values.
This parameter defines the width of the cropped area. It determines how many pixels wide the resulting cropped image will be. The width must be an integer value between 1 and the maximum resolution supported by the node. The default value is 512.
This parameter specifies the height of the cropped area. It determines how many pixels tall the resulting cropped image will be. The height must be an integer value between 1 and the maximum resolution supported by the node. The default value is 512.
This parameter sets the x-coordinate of the top-left corner of the crop area. It determines the horizontal starting point of the crop within the original image. The x-coordinate must be an integer value between 0 and the maximum resolution supported by the node. The default value is 0.
This parameter sets the y-coordinate of the top-left corner of the crop area. It determines the vertical starting point of the crop within the original image. The y-coordinate must be an integer value between 0 and the maximum resolution supported by the node. The default value is 0.
The output is the cropped image, which is a subset of the original image based on the specified width, height, x, and y parameters. This cropped image retains the same format as the input image and contains only the pixels within the defined rectangular area.
© Copyright 2024 RunComfy. All Rights Reserved.