ComfyUI Node
Resolution Suggest (WepeNerd)
A ComfyUI node in WepeNerd/Resolution with 6 inputs and 7 outputs.
Resolution Suggest (WepeNerd)
- width
- height
- original_width
- original_height
- scale_factor
- aspect_ratio
- info
◄width1920►
◄height1080►
◄target1024►
◄resize_modeLongest Side►
◄divisor32►
◄snap_moderound►
CategoryWepeNerd/Resolution
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 19201–32768 | — |
| height | INT | 10801–32768 | — |
| target | INT | 10241–32768 | Target pixel size (or percentage when mode is Scale Factor) |
| resize_mode | COMBO | Longest Side | 5 options: Longest Side, Shortest Side, Width, Height, Scale Factor |
| divisor | COMBO | 32 | 4 options: 32, 16, 8, 64 |
| snap_mode | COMBO | round | How to snap to the divisor grid: round (nearest), floor (down), ceil (up) |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| original_width | INT | — |
| original_height | INT | — |
| scale_factor | FLOAT | — |
| aspect_ratio | STRING | — |
| info | STRING | — |