Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile image resizing node with advanced algorithms for maintaining visual integrity and optimizing images for various display formats.
The ImageResize+ node is designed to help you easily adjust the dimensions of your images, making it a versatile tool for various image manipulation tasks. Whether you need to scale down a large image to fit a specific size or upscale a smaller image without losing too much quality, this node provides a straightforward solution. By leveraging advanced resizing algorithms, ImageResize+ ensures that your images maintain their visual integrity, even when resized significantly. This node is particularly useful for preparing images for different display formats, optimizing them for web use, or simply adjusting their size to meet specific project requirements.
This parameter accepts the image you want to resize. The image should be in a compatible format that the node can process. The function of this parameter is to provide the source material for the resizing operation.
This parameter specifies the desired width of the output image. It accepts integer values with a default of 512, a minimum of 0, and a maximum defined by the system's maximum resolution. Setting this parameter to 0 will maintain the aspect ratio based on the height.
This parameter specifies the desired height of the output image. It accepts integer values with a default of 512, a minimum of 0, and a maximum defined by the system's maximum resolution. Setting this parameter to 0 will maintain the aspect ratio based on the width.
This parameter determines the algorithm used for resizing the image. The available options are "nearest-exact", "bilinear", "area", "bicubic", and "lanczos". Each method offers a different balance between speed and quality, with "nearest-exact" being the fastest and "lanczos" providing the highest quality for most images.
This parameter specifies how the image should be cropped if the aspect ratio changes during resizing. The options are "disabled" and "center". "Disabled" will not crop the image, while "center" will crop the image from the center to fit the new dimensions.
The output parameter is the resized image. This image will have the dimensions specified by the width and height parameters, adjusted according to the selected upscale method and crop settings. The resized image maintains as much of the original quality as possible, given the constraints of the resizing operation.
© Copyright 2024 RunComfy. All Rights Reserved.