Visit ComfyUI Online for ready-to-use ComfyUI environment
Crop specific image regions efficiently for precise manipulation and extraction.
The ETN_CropImage node is designed to allow you to crop a specific region from an image. This can be particularly useful when you need to focus on a particular part of an image, remove unwanted sections, or prepare images for further processing. By specifying the coordinates and dimensions of the desired crop area, you can extract the exact portion of the image you need. This node is essential for tasks that require precise image manipulation, such as creating thumbnails, isolating objects, or preparing images for machine learning models. The cropping operation is straightforward and efficient, ensuring that you can quickly and easily obtain the desired image segment.
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 the pixel data.
This parameter specifies the x-coordinate of the top-left corner of the crop area. It determines the horizontal starting point of the crop. The value must be an integer between 0 and 8192, with a default value of 0. Adjusting this value allows you to shift the crop area horizontally within the image.
This parameter specifies the y-coordinate of the top-left corner of the crop area. It determines the vertical starting point of the crop. The value must be an integer between 0 and 8192, with a default value of 0. Adjusting this value allows you to shift the crop area vertically within the image.
This parameter defines the width of the crop area. It determines how many pixels wide the cropped image will be. The value must be an integer between 1 and 8192, with a default value of 512. Adjusting this value allows you to control the horizontal size of the cropped image.
This parameter defines the height of the crop area. It determines how many pixels tall the cropped image will be. The value must be an integer between 1 and 8192, with a default value of 512. Adjusting this value allows you to control the vertical size of the cropped image.
The output of this node is the cropped image, which is a segment of the original image defined by the specified coordinates and dimensions. This cropped image retains the same format as the input image and can be used for further processing or analysis.
© Copyright 2024 RunComfy. All Rights Reserved.