ComfyUI Node
Resolution from Scanlines
Calculate Width & Height from aspect ratio and scanlines target, in 'step' multiples.
Resolution from Scanlines
- width
- height
- longest
- megapixels
◄aspect_ratio▾►
◄scanlines▾►
◄step32►
CategoryResolution Tools
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | COMBO | 15 options: 32:9 (Super Ultrawide), 21:9 (Ultrawide), 16:9 (Widescreen), 16:10 (WUXGA), 5:4 (5:4 Standard), 4:3 (Standard), +9 | |
| scanlines | COMBO | 12 options: 240p, 360p, 480p, 544p, 640p, 720p, +6 | |
| step | INT | 321–112 | MiniMaxH3=32, Illustrious/Pony=64, other=16 |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| longest | INT | — |
| megapixels | FLOAT | — |