Nodes/FunUI/FunUI Aspect Size
ComfyUI Node

FunUI Aspect Size

The picture supplies the SHAPE, width x height supplies the SCALE: out comes a width and a height with the picture's aspect ratio and about width x height pixels, each the nearest multiple of `multiple_of`.

By digital-garbage·Created about a year ago·Updated a day ago· 21
FunUI Aspect Size
  • image
  • width
  • height
◄width768►
◄height512►
◄multiple_of32►
CategoryFunUI/Latent

Inputs (4)

NameTypeDefaultDescription
imageIMAGEOnly its width-to-height ratio is used.
widthINT76816–16384The pixel budget is width x height.
heightINT51216–16384—
multiple_ofoptINT321–256Round each side to a multiple of this (LTX wants 32).

Outputs (2)

NameTypeDescription
widthINT—
heightINT—