Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently crop specific image regions with precision using ImageMagick capabilities.
The ImageMagick Crop node is designed to allow you to precisely cut out a specific rectangular region from an image. This can be particularly useful for focusing on a particular area of interest, removing unwanted borders, or preparing images for further processing. By specifying the dimensions and position of the crop area, you can extract exactly the portion of the image you need, which can help in creating more refined and targeted visual content. This node leverages the powerful capabilities of ImageMagick to perform the crop operation efficiently and accurately.
This parameter represents the input image that you want to crop. It should be provided in a format that the node can process, typically as an image object.
This parameter specifies the x-coordinate of the top-left corner of the crop area. It determines how far from the left edge of the image the crop area starts. The value must be an integer between 0 and 1024, with a default value of 0.
This parameter specifies the y-coordinate of the top-left corner of the crop area. It determines how far from the top edge of the image the crop area starts. The value must be an integer between 0 and 1024, with a default value of 0.
This parameter defines the width of the crop area. It determines how wide the cropped section of the image will be. The value must be an integer between 1 and 1024, with a default value of 512.
This parameter defines the height of the crop area. It determines how tall the cropped section of the image will be. The value must be an integer between 1 and 1024, with a default value of 512.
This boolean parameter determines whether the coordinates of the cropped image should be reset. If set to True, the coordinates of the resulting image will be reset to (0,0). The default value is True.
The output of this node is the cropped image. This image will be a new image object that contains only the specified rectangular region from the original image. The dimensions and content of this output image are determined by the input parameters provided.
left
and top
parameters to position the crop area correctly.width
and height
parameters to define the exact size of the area you want to extract, ensuring it captures all necessary details.reset_coords
parameter is set to True.width
and height
parameters are within the bounds of the original image's dimensions.left
or top
parameters are set to values that are outside the image's dimensions.left
and top
parameters to be within the valid range of the image's dimensions.© Copyright 2024 RunComfy. All Rights Reserved.