ComfyUI Node
ND Resolution
Sets an image size from an aspect ratio (a preset, or typed like 21:9) and one number, which is megapixels (1 = 1024 x 1024 pixels), the long side or the short side - the method is chosen in the settings (gear), together with the multiple both sides are rounded to. Output: one parameters wire with 'width' and 'height' - open it with Unpack Parameters.
ND Resolution
- params
◄state{"version": 1, "ratio": "1:1", "custom": "21:9", "method": "megapixels", "mp": 1.0, "long": 1024, "short": 1024, "multiple": 16, "show_custom": false}►
CategoryNeural Dreamer/Images
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| state | STRING | {"version": 1, "ratio": "1:1", "custom": "21:9", "method": "megapixels", "mp": 1.0, "long": 1024, "short": 1024, "multiple": 16, "show_custom": false} | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| params | ND_PARAMS | — |