ComfyUI Node
Switch WH Pixaroma
Switch WH Pixaroma - pick width/height from one of two input sources with a single click. Wire two W/H pairs (for example a Load Image Pixaroma's WIDTH/HEIGHT and a Resolution Pixaroma's width/height) into the A and B inputs, then click A or B on the node to choose which pair flows through to the output. Lets you flip between the source image's native size and a manually chosen resolution without rewiring cables. If only one pair is wired, that pair is used regardless of the toggle - so you can leave the unused inputs disconnected during early workflow setup.
Switch WH Pixaroma
- width
- height
◄width_a—►
◄height_a—►
◄width_b—►
◄height_b—►
Category👑 Pixaroma/🔀 Logic & Flow
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| width_aopt | INT | Width of source A (e.g. a Load Image Pixaroma's width). Click A on the node to send the A pair to the output. | |
| height_aopt | INT | Height of source A. Pairs with width_a. | |
| width_bopt | INT | Width of source B (e.g. a Resolution Pixaroma's width). Click B on the node to send the B pair to the output. | |
| height_bopt | INT | Height of source B. Pairs with width_b. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| width | INT | The width from the active (highlighted) source. |
| height | INT | The height from the active (highlighted) source. |