Nodes/ComfyUI EasyUse Anima/Anima Image Scale By Multiple
ComfyUI Node

Anima Image Scale By Multiple

Scales an IMAGE by the nearest valid ratio that keeps the source aspect ratio and makes the output width and height multiples of the selected size. The optional max long edge limits the selected valid output size. Use multiple 32 for highres or optimization nodes that require 32-multiple sizes.

By n0va39·Created 2 months ago·Updated 6 days ago· 18
Anima Image Scale By Multiple
  • image
  • image
  • width
  • height
  • applied_scale
scale_by1.50
upscale_methodbicubic
multiple32
max_long_edge0
CategoryEasyUse Anima/Image

Inputs (5)

NameTypeDefaultDescription
imageIMAGEInput image to upscale.
scale_byFLOAT1.500.01–8Requested image scale ratio. The node uses the nearest valid ratio for the selected multiple.
upscale_methodCOMBObicubicInterpolation method used for resizing.
multipleCOMBO32Output width and height must be multiples of this value.
max_long_edgeINT00–16384Maximum output long edge. Set 0 to disable this limit.

Outputs (4)

NameTypeDescription
imageIMAGEScaled image using the nearest valid ratio.
widthINTFinal valid image width.
heightINTFinal valid image height.
applied_scaleFLOATActual scale ratio applied to the image.