Nodes/ComfyUI-UniversalToolkit/Image Scale Restore (UTK)
ComfyUI Node

Image Scale Restore (UTK)

A ComfyUI node in UniversalToolkit/Image with 8 inputs and 5 outputs.

By whmc76·Created about a year ago·Updated 24 days ago· 70
Image Scale Restore (UTK)
  • image
  • mask
  • original_size
  • image
  • mask
  • original_size
  • width
  • height
scale1.00
method
scale_to_side
scale_to_length1024
round_to_multiple
CategoryUniversalToolkit/Image

Inputs (8)

NameTypeDefaultDescription
imageIMAGE
scaleFLOAT1.000.01–100
methodCOMBO6 options: lanczos, bicubic, hamming, bilinear, box, nearest
scale_to_sideCOMBO6 options: None, longest, shortest, width, height, total_pixel(kilo pixel)
scale_to_lengthINT10244–100000000
round_to_multipleCOMBO8 options: 8, 16, 32, 64, 128, 256, +2
maskoptMASK
original_sizeoptBOX

Outputs (5)

NameTypeDescription
imageIMAGE
maskMASK
original_sizeBOX
widthINT
heightINT