ComfyUI Node
Load & Resize Image
Load images with optional automatic resizing. Supports FramePack nearest-bucket sizing, maintains aspect ratio, and provides filename information for workflow organization.
Load & Resize Image
- IMAGE
- MASK
- filename
- cleaned filename
- width
- height
◄image▾►
◄resizefalse►
◄use_framepack_bucketfalse►
◄base_resolution640►
◄width512►
◄height512►
◄methodkeep proportion►
◄crop_positioncenter►
◄interpolationlanczos►
◄max_num_words0►
CategoryAUN Nodes/Image
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| image | COMBO | Select image file from input directory or upload new image. | |
| 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. |
| max_num_words | INT | 00–32 | Maximum number of words to keep for both filename outputs. Set to 0 for no limit. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |
| filename | STRING | — |
| cleaned filename | STRING | — |
| width | INT | — |
| height | INT | — |