ComfyUI Node
Resolution switcher
A ComfyUI node in ✨ LF Nodes/Logic with 6 inputs and 3 outputs.
Resolution switcher
- ui_widget
- width
- height
- is_landscape
◄chance_landscape20►
◄portrait_width832►
◄portrait_height1216►
◄landscape_width1216►
◄landscape_height832►
Category✨ LF Nodes/Logic
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| chance_landscape | FLOAT | 200–100 | Percentage chance for landscape output, 0-100. |
| portrait_width | INT | 832 | Width when the image is portrait-oriented. |
| portrait_height | INT | 1216 | Height when the image is portrait-oriented. |
| landscape_width | INT | 1216 | Width when the image is landscape-oriented. |
| landscape_height | INT | 832 | Height when the image is landscape-oriented. |
| ui_widgetopt | KUL_PROGRESSBAR | [object Object] | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |
| is_landscape | BOOLEAN | — |