ComfyUI Node
Resize Image
Resize an input image tensor using the same strategies as AUN Load & Resize Image, including FramePack buckets and fill/crop anchoring, but without handling file I/O.
Resize Image
- image
- mask
- IMAGE
- MASK
- width
- height
◄resizefalse►
◄use_framepack_bucketfalse►
◄base_resolution640►
◄width512►
◄height512►
◄methodkeep proportion►
◄crop_positioncenter►
◄interpolationlanczos►
CategoryAUN Nodes/Image
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Image tensor to resize. | |
| resize | BOOLEAN | false | Enable automatic resizing to specified dimensions. Maintains aspect ratio. |
| use_framepack_bucket | BOOLEAN | false | If enabled (with resize), choose nearest FramePack bucket based on aspect ratio and base resolution. |
| base_resolution | INT | 640320–2048 | Base resolution for bucket scaling. 640 matches original; higher scales proportionally. |
| width | INT | 5120–2048 | Target width for resizing (8-pixel increments). Only used if resize is enabled. |
| height | INT | 5120–2048 | Target height for resizing (8-pixel increments). Only used if resize is enabled. |
| method | COMBO | keep proportion | Resize strategy: stretch to exact size, keep aspect ratio, fill then crop, or pad to fit. |
| crop_position | COMBO | center | When using fill / crop, choose which edge or center anchors the crop window. |
| interpolation | COMBO | lanczos | Interpolation filter used during resizing. |
| maskopt | MASK | Optional mask tensor resized alongside the image. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |
| width | INT | — |
| height | INT | — |