Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile image resizing node with various scaling options for AI artists, maintaining quality and aspect ratios.
ResizeImageMixlab is a versatile node designed to resize images with various scaling options, making it an essential tool for AI artists who need to adjust image dimensions while maintaining quality. This node allows you to scale images based on width, height, or overall dimensions, and offers different methods to handle aspect ratios and padding. Whether you need to resize an image to fit specific dimensions or scale it proportionally, ResizeImageMixlab provides the flexibility to achieve your desired results. The node ensures that resized images are processed smoothly, reducing artifacts and preserving the visual integrity of the original image.
The target width for the resized image. This parameter determines the new width of the image after resizing. It is crucial for defining the horizontal dimension of the output image. The value should be a positive integer representing the number of pixels.
The target height for the resized image. This parameter sets the new height of the image after resizing. It is essential for defining the vertical dimension of the output image. The value should be a positive integer representing the number of pixels.
The method used to scale the image. This parameter offers different options for resizing, such as scaling by width, height, overall dimensions, or the longest side. The available options include "width", "height", "overall", "center", and "longest". Each option affects how the image is resized and how the aspect ratio is handled.
The background color used when padding the image. This parameter is used when the scale_option
requires padding to maintain the aspect ratio. The value should be a color code in hexadecimal format (e.g., #000000
for black).
The level of noise to be added to the image. This parameter is used to create a noisy image, which can be useful for certain artistic effects. The value should be a float between 0 and 1, where 0 means no noise and 1 means maximum noise.
The color used for the noise image. This parameter defines the color of the noise added to the image. The value should be a color code in hexadecimal format.
The resized image. This output parameter provides the final image after the resizing process. The image is returned in a format suitable for further processing or saving, ensuring that the resized dimensions and any applied scaling options are reflected in the output.
scale_option
parameter with the "width" or "height" options.noise_level
parameter to control the intensity of the noise effect.color
parameter to set a background color that complements the image when padding is required.#FFFFFF
for white) for the color parameters.© Copyright 2024 RunComfy. All Rights Reserved.