ComfyUI Node
Resize Image (Megapixels + Alignment)
A ComfyUI node in image/transform with 4 inputs and 3 outputs.
Resize Image (Megapixels + Alignment)
- image
- image
- width
- height
◄megapixels0.37►
◄multiple_of32►
◄upscale_method▾►
Categoryimage/transform
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| megapixels | FLOAT | 0.370.1–4 | Target megapixels. 0.37 ≈ 832x448, 0.64 ≈ 1024x640 |
| multiple_of | INT | 321–128 | Align width/height to this multiple. LTX requires 32. |
| upscale_method | COMBO | 6 options: lanczos, bislerp, bicubic, bilinear, nearest-exact, area |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| width | INT | — |
| height | INT | — |