Nodes/Arctenoxs-Essentials_ComfyUI/Image Resize (Arctenox's Essentials)
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.

By Arctenox·Created 8 months ago·Updated about a month ago· 1
Image Resize (Arctenox's Essentials)
  • image
  • image
  • width
  • height
width1024
height1024
modefit
interpolationlanczos
CategoryArctenox Essentials/Image

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
widthINT10248–8192Target width in pixels
heightINT10248–8192Target height in pixels
modeCOMBOfitstretch = 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
interpolationCOMBOlanczosResampling filter. lanczos/bicubic are sharpest for downscaling.

Outputs (3)

NameTypeDescription
imageIMAGE
widthINT
heightINT