Visit ComfyUI Online for ready-to-use ComfyUI environment
Upscale images by specified ratio while maintaining aspect ratio, useful for AI artists, various upscale methods, cropping options.
The DF_Image_scale_by_ratio node is designed to upscale images by a specified ratio, allowing you to enhance the resolution of your images while maintaining their aspect ratio. This node is particularly useful for AI artists who need to increase the size of their images for higher quality outputs or for specific use cases where larger image dimensions are required. By leveraging various upscale methods, this node ensures that the upscaled images retain their visual quality and details. The node also provides options for cropping, giving you control over how the image is resized and ensuring that the important parts of the image are preserved.
This parameter accepts the image you want to upscale. The image should be in a compatible format that the node can process.
This parameter determines the ratio by which the image will be upscaled. It is a floating-point value with a default of 1.0, a minimum of 0.01, and a maximum of 8.0. Adjusting this value will directly impact the final dimensions of the upscaled image.
This parameter allows you to choose the method used for upscaling the image. The available options are "nearest-exact", "bilinear", "area", "bicubic", and "lanczos". Each method has its own characteristics in terms of quality and processing time, so you can select the one that best suits your needs.
This parameter specifies how the image should be cropped during the upscaling process. The available options are "disabled" and "center". Choosing "disabled" will upscale the entire image, while "center" will focus on the central part of the image, potentially cropping the edges.
The output is the upscaled image. This image will have increased dimensions based on the specified upscale ratio and method, and it will be returned in a format that can be further processed or saved.
© Copyright 2024 RunComfy. All Rights Reserved.