ComfyUI Node
ImageAspectResolution
Calculates a resolution from an image aspect ratio, target megapixels, and pixel multiple.
ImageAspectResolution
- image
- width
- height
◄megapixels1.00►
◄multiple16►
Categorymath/graphics
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| megapixels | FLOAT | 1.00 | — |
| multiple | INT | 161–512 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |