Visit ComfyUI Online for ready-to-use ComfyUI environment
Crop specific image regions based on coordinates and dimensions for focused editing and analysis.
The Image Crop Location node is designed to allow you to crop a specific region from an image based on given coordinates and dimensions. This node is particularly useful for focusing on a particular area of an image, whether for detailed analysis, artistic manipulation, or other purposes. By specifying the coordinates and size of the crop, you can extract and work with just the portion of the image that is of interest, making it easier to manage and process images in your projects.
This parameter represents the input image that you want to crop. The image should be provided in a compatible format that the node can process.
This parameter defines the width of the crop area. It determines how wide the cropped section of the image will be. The minimum value is 1, the maximum value is determined by the maximum resolution of the image, and the default value is 512.
This parameter specifies the height of the crop area. It determines how tall the cropped section of the image will be. The minimum value is 1, the maximum value is determined by the maximum resolution of the image, and 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. The minimum value is 0, the maximum value is determined by the maximum resolution of the image, and 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. The minimum value is 0, the maximum value is determined by the maximum resolution of the image, and the default value is 0.
This output parameter represents the cropped image. The resulting image is the section of the original image that was specified by the input parameters. It is returned in a format that can be further processed or used in subsequent nodes.
x
and y
coordinates to the top-left corner of the desired region and adjust the width
and height
to cover the area you want to crop.width
and height
parameters are positive and that the x
and y
coordinates, along with the width and height, define a valid region within the image boundaries.© Copyright 2024 RunComfy. All Rights Reserved.