ComfyUI Node
Stride Scale Size
A ComfyUI node in utils/math with 7 inputs and 3 outputs.
Stride Scale Size
- scaled_width
- scaled_height
- chosen_side
◄image_width1024►
◄image_height1024►
◄rescale_by1.00►
◄stride8►
◄modedown►
◄side_selectorlongest►
◄clamp_rescale_min_1true►
Categoryutils/math
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image_width | INT | 1024 | — |
| image_height | INT | 1024 | — |
| rescale_by | FLOAT | 1.00 | — |
| stride | INT | 8 | — |
| mode | COMBO | down | 3 options: down, up, nearest |
| side_selector | COMBO | longest | 2 options: shortest, longest |
| clamp_rescale_min_1 | BOOLEAN | true | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| scaled_width | INT | — |
| scaled_height | INT | — |
| chosen_side | INT | — |