Visit ComfyUI Online for ready-to-use ComfyUI environment
Crop images using absolute pixel coordinates for precise selection of rectangular regions, enhancing image quality and relevance.
The ImageTransformCropAbsolute
node is designed to crop images based on absolute pixel coordinates. This node allows you to specify the exact rectangular region of the image you want to retain by defining the starting and ending coordinates along the x and y axes. This precise control over cropping is particularly useful when you need to focus on a specific area of an image, remove unwanted borders, or prepare images for further processing. By using this node, you can ensure that the cropped images meet your exact requirements, enhancing the quality and relevance of your image transformations.
This parameter accepts a list of images that you want to crop. Each image in the list will be processed individually based on the specified cropping coordinates.
This integer parameter defines the starting x-coordinate (horizontal position) for the cropping rectangle. The default value is 0, and it can be adjusted in steps of 1 pixel. This parameter determines the left boundary of the cropped area.
This integer parameter defines the starting y-coordinate (vertical position) for the cropping rectangle. The default value is 0, and it can be adjusted in steps of 1 pixel. This parameter determines the top boundary of the cropped area.
This integer parameter defines the ending x-coordinate (horizontal position) for the cropping rectangle. The default value is 128, and it can be adjusted in steps of 1 pixel. This parameter determines the right boundary of the cropped area.
This integer parameter defines the ending y-coordinate (vertical position) for the cropping rectangle. The default value is 128, and it can be adjusted in steps of 1 pixel. This parameter determines the bottom boundary of the cropped area.
The output is a list of cropped images. Each image in the list corresponds to the input images but cropped according to the specified coordinates. The cropped images retain the same format as the input images, ensuring consistency in further processing or usage.
start_x
, start_y
, end_x
, and end_y
parameters to define the exact area you want to retain.end_x
and end_y
values are within the bounds of the image dimensions. Adjust the coordinates to fit within the image size.© Copyright 2024 RunComfy. All Rights Reserved.