Visit ComfyUI Online for ready-to-use ComfyUI environment
Change image resolution by resampling with various filters for precise adjustments.
The ImageMagick Resample node is designed to change the resolution of an image by resampling it to new dimensions specified by the user. This process involves recalculating the pixel values of the image to fit the new resolution, which can be useful for various purposes such as preparing images for different display sizes or optimizing them for specific applications. The node offers a variety of resampling filters that determine how the pixel values are interpolated, allowing you to control the quality and characteristics of the resampled image. This flexibility makes the Resample node a powerful tool for AI artists looking to fine-tune their images with precision.
This parameter represents the input image that you want to resample. It should be provided in a compatible image format.
This parameter specifies the new horizontal resolution for the image. It accepts floating-point values with a default of 512, a minimum of 0.0, and a maximum of 1024. Adjusting this value changes the width of the resampled image.
This parameter specifies the new vertical resolution for the image. It accepts floating-point values with a default of 512, a minimum of 0.0, and a maximum of 1024. Adjusting this value changes the height of the resampled image.
This parameter allows you to choose the resampling filter to be used. The available options include undefined
, point
, box
, triangle
, hermite
, hanning
, hamming
, blackman
, gaussian
, quadratic
, cubic
, catrom
, mitchell
, jinc
, sinc
, sincfast
, kaiser
, welsh
, parzen
, bohman
, bartlett
, lagrange
, lanczos
, lanczossharp
, lanczos2
, lanczos2sharp
, robidoux
, robidouxsharp
, cosine
, spline
, and sentinel
. The default filter is point
. Each filter has different characteristics and can affect the sharpness and smoothness of the resampled image.
This parameter controls the amount of blur applied during the resampling process. It accepts floating-point values with a default of 1, a minimum of 0.0, and a maximum of 1024. Increasing the blur value can help reduce artifacts and create a smoother image.
The output parameter is the resampled image. This image will have the new resolution specified by the x_res
and y_res
parameters and will be processed using the selected filter and blur settings. The output image can be used for further processing or saved as needed.
lanczos
or mitchell
for better quality results.Image format not supported
Invalid resolution values
x_res
or y_res
values are outside the acceptable range.Filter not recognized
Blur value out of range
© Copyright 2024 RunComfy. All Rights Reserved.