Visit ComfyUI Online for ready-to-use ComfyUI environment
Intelligently resize images preserving key visual content using seam carving for minimal distortion and artifact-free resizing.
The ImageMagick Liquid Rescale node is designed to intelligently resize images while preserving important visual content. This method, known as seam carving, adjusts the image dimensions by removing or adding pixels in a way that minimizes distortion of the key features. This is particularly useful for resizing images to fit specific dimensions without losing important details or introducing significant artifacts. The Liquid Rescale node is ideal for tasks where maintaining the visual integrity of the image is crucial, such as in web design, photo editing, and graphic design.
This parameter represents the input image that you want to rescale. The image should be in a format that is compatible with the node, typically a standard image file.
This parameter specifies the desired width of the output image. The width can range from a minimum of 1 to a maximum of 1024 pixels, with a default value of 512 pixels. Adjusting this parameter will change the horizontal dimension of the image.
This parameter specifies the desired height of the output image. The height can range from a minimum of 1 to a maximum of 1024 pixels, with a default value of 512 pixels. Adjusting this parameter will change the vertical dimension of the image.
This parameter controls the maximum seam shift allowed during the rescaling process. It is a float value ranging from 0.0 to 1024, with a default value of 0. A higher value allows more flexibility in seam placement, which can help preserve important features but may introduce more distortion.
This parameter influences the rigidity of the rescaling process. It is a float value ranging from 0.0 to 1024, with a default value of 0. Higher values make the rescaling process more rigid, reducing the amount of distortion but potentially sacrificing some detail preservation.
The output of the Liquid Rescale node is the rescaled image. This image will have the dimensions specified by the width and height parameters, and it will be adjusted using the seam carving technique to preserve important visual content as much as possible.
delta_x
and rigidity
initially, and adjust them only if you notice significant distortion or loss of important features.rigidity
parameter to maintain the integrity of these elements.delta_x
or rigidity
parameter is set outside the allowed range of 0.0 to 1024. - Solution: Ensure that both delta_x
and rigidity
are set within the valid range.delta_x
and rigidity
or use a different image.© Copyright 2024 RunComfy. All Rights Reserved.