ComfyUI Node
PixelForge · Resolution Selector
A ComfyUI node for selecting mathematically valid image resolutions filtered by aspect ratio, orientation, and megapixel limit.
PixelForge · Resolution Selector
- width_px
- height_px
- ratio_w
- ratio_h
- orientation
- total_megapixels
◄aspect_ratio1:1►
◄orientationsquare►
◄divisible_by16►
◄max_megapixels1 MP►
◄resolution1024×1024►
CategoryPixelForge
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | COMBO | 1:1 | 5 options: 1:1, 3:2, 4:3, 16:9, 16:10 |
| orientation | COMBO | square | 3 options: landscape, portrait, square |
| divisible_by | COMBO | 16 | 3 options: 16, 32, 64 |
| max_megapixels | COMBO | 1 MP | 7 options: 1 MP, 2 MP, 4 MP, 6 MP, 8 MP, 12 MP, +1 |
| resolution | COMBO | 1024×1024 | 692 options: 16×16, 32×32, 32×48, 48×32, 48×48, 48×64, +686 |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| width_px | INT | — |
| height_px | INT | — |
| ratio_w | INT | — |
| ratio_h | INT | — |
| orientation | STRING | — |
| total_megapixels | FLOAT | — |