ComfyUI Node
Image Resize (Arctenox's Essentials)
Resize an image with multiple fit modes. Mode guide: • stretch – exact target size, no aspect ratio preservation • fit – letterbox/pillarbox, whole image visible • fill – zoom/crop to fully cover target area • pad – fit then pad edges with black to reach exact size Outputs actual width & height as INT for wiring downstream.
Image Resize (Arctenox's Essentials)
- image
- image
- width
- height
◄width1024►
◄height1024►
◄modefit►
◄interpolationlanczos►
CategoryArctenox Essentials/Image
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| width | INT | 10248–8192 | Target width in pixels |
| height | INT | 10248–8192 | Target height in pixels |
| mode | COMBO | fit | stretch = exact size, ignore aspect ratio fit = keep aspect, fit within target (may letterbox) fill = keep aspect, cover target (may crop) pad = keep aspect, fit then pad with black to exact size |
| interpolation | COMBO | lanczos | Resampling filter. lanczos/bicubic are sharpest for downscaling. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| width | INT | — |
| height | INT | — |