Scale To Multiple Adv. ๐Ÿฒ

Ryuu_ScaleToMultipleAdvanced

Scales image dimensions and/or integers to a specified multiple, with options for rounding mode and pre-scaling. If no image is provided, only the width and height will be scaled. If image and width and/or height is provided, the image will use the provided dimension for scaling instead of it's own width/height. This will work as a width/height override.

Pack: ComfyUI-RyuuNoodles

custom_nodes.ComfyUI-RyuuNoodles

Inputs (10)

NameTypeRequired
multipleINTrequired
crop_modeCOMBOrequired
resize_modeCOMBOrequired
rounding_mode_widthCOMBOrequired
rounding_mode_heightCOMBOrequired
scale_factor_widthFLOATrequired
scale_factor_heightFLOATrequired
imageIMAGEoptional
widthINToptional
heightINToptional

Outputs (3)

NameType
scaled_imageIMAGE
scaled_widthINT
scaled_heightINT