ComfyUI Node
Guess Resolution By Ratio
Based on the input width and height, guess a resolution that matches one of the common aspect ratios. The output is rounded to the nearest multiple of 64.
Guess Resolution By Ratio
- width
- height
◄width1024►
◄height1024►
CategorySage Utils/image/res
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 102464–8192 | The input width. |
| height | INT | 102464–8192 | The input height. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| width | INT | The guessed width. |
| height | INT | The guessed height. |