ComfyUI Node
Image Resize Calculator
A ComfyUI node in AutoFlow/Image with 3 inputs and 2 outputs.
Image Resize Calculator
- width_max
- height_max
◄width1024►
◄height1024►
◄num_pixels1048576►
CategoryAutoFlow/Image
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 10241–65536 | Original image width |
| height | INT | 10241–65536 | Original image height |
| num_pixels | INT | 10485761–16777216 | Target maximum total pixels (width_max * height_max <= num_pixels) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| width_max | INT | — |
| height_max | INT | — |