Visit ComfyUI Online for ready-to-use ComfyUI environment
Scale images dynamically with aspect ratio preservation and color adjustments using versatile scaling methods.
The ImageContainerInheritanceScale
node is designed to scale images by adjusting their width and height based on specified scaling factors. This node is particularly useful when you need to resize images dynamically while maintaining their aspect ratio or applying specific scaling transformations. By leveraging this node, you can efficiently manage image dimensions, ensuring they fit within desired constraints or match particular design requirements. The node also allows for color adjustments and supports various scaling methods, making it a versatile tool for image processing tasks.
This parameter represents the input images that you want to scale. It is a collection of images that the node will process. The images should be provided in a format that the node can interpret and manipulate.
This parameter defines the scaling factor for the width of the images. It is a float value that determines how much the width of the images will be scaled. For example, a value of 1.5 will increase the width by 50%, while a value of 0.5 will reduce it by 50%.
This parameter defines the scaling factor for the height of the images. Similar to scale_width
, it is a float value that determines the scaling applied to the height of the images. Adjusting this value allows you to control the vertical dimension of the images.
This parameter specifies the red color component adjustment for the images. It is an integer value that can be used to modify the red channel of the images, allowing for color correction or enhancement.
This parameter specifies the green color component adjustment for the images. It is an integer value that can be used to modify the green channel of the images, allowing for color correction or enhancement.
This parameter specifies the blue color component adjustment for the images. It is an integer value that can be used to modify the blue channel of the images, allowing for color correction or enhancement.
This parameter specifies the alpha (transparency) component adjustment for the images. It is an integer value that can be used to modify the transparency of the images, enabling effects such as blending or opacity adjustments.
This parameter defines the scaling method to be used. It determines how the images will be resized, with options such as "nearest-exact", "bilinear", "area", "bicubic", and "lanczos". Each method offers different trade-offs between quality and performance.
The output parameter is the collection of scaled images. These images have been resized according to the specified width and height scaling factors and adjusted for any color and transparency modifications. The output images are ready for further processing or use in your projects.
scale_width
and scale_height
parameters are set to the same value.red
, green
, blue
, alpha
) to fine-tune the appearance of your images, especially if you need to correct color imbalances or apply specific visual effects.method
parameter is set to one of the supported values: "nearest-exact", "bilinear", "area", "bicubic", or "lanczos". Correct any typos or invalid entries.© Copyright 2024 RunComfy. All Rights Reserved.