ComfyUI Node
Portrait Landscape Pixaroma
Output a width and height in the orientation you pick. Enter your two dimensions (or wire them in from another node), then click Portrait or Landscape. Portrait gives the tall arrangement (the smaller number becomes the width), Landscape gives the wide arrangement (the larger number becomes the width). Flipping orientation is one click, with no need to keep two WH nodes and a switch. The order you enter the two numbers does not matter. Outputs width and height.
Portrait Landscape Pixaroma
- width
- height
◄width832►
◄height1216►
Category👑 Pixaroma/🔢 Values
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 8328–16384 | One of your two dimensions. Type a value or wire a number in. Portrait/Landscape decides whether this becomes the long or short side, so the order you enter the two numbers does not matter. |
| height | INT | 12168–16384 | The other dimension. Type a value or wire a number in. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| width | INT | The output width. In Portrait this is the smaller of your two numbers; in Landscape it is the larger. |
| height | INT | The output height. In Portrait this is the larger of your two numbers; in Landscape it is the smaller. |