Nodes/ComfyUI 1hewNodes/Image Resize Universal
ComfyUI Node

Image Resize Universal

A ComfyUI node in 1hewNodes/image/resize with 12 inputs and 2 outputs.

By 1hew·Created about a year ago·Updated about a month ago· 28
Image Resize Universal
  • image
  • mask
  • get_image_size
  • image
  • mask
preset_ratioorigin
proportional_width1
proportional_height1
methodlanczos
scale_to_sideNone
scale_to_length1024
fitcrop
pad_color1.0
divisible_by8
Category1hewNodes/image/resize

Inputs (12)

NameTypeDefaultDescription
preset_ratioCOMBOorigin11 options: origin, custom, 1:1, 3:2, 4:3, 16:9, +5
proportional_widthINT11–8192
proportional_heightINT11–8192
methodCOMBOlanczos6 options: nearest, bilinear, lanczos, bicubic, hamming, box
scale_to_sideCOMBONone6 options: None, longest, shortest, width, height, length_to_sq_area
scale_to_lengthINT10241–8192
fitCOMBOcrop3 options: crop, pad, stretch
pad_colorSTRING1.0
divisible_byINT81–1024
imageoptIMAGE
maskoptMASK
get_image_sizeoptIMAGE

Outputs (2)

NameTypeDescription
imageIMAGE
maskMASK