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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image to upscale. | |
| scale_by | FLOAT | 1.500.01–8 | Requested image scale ratio. The node uses the nearest valid ratio for the selected multiple. |
| upscale_method | COMBO | bicubic | Interpolation method used for resizing. |
| multiple | COMBO | 32 | Output width and height must be multiples of this value. |
| max_long_edge | INT | 00–16384 | Maximum output long edge. Set 0 to disable this limit. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Scaled image using the nearest valid ratio. |
| width | INT | Final valid image width. |
| height | INT | Final valid image height. |
| applied_scale | FLOAT | Actual scale ratio applied to the image. |