Nodes/ComfyUI_illumorae/Image Resize w Matte
ComfyUI Node

Image Resize w Matte

Resizes images with optional aspect preservation, divisibility constraints, and optional matte canvas compositing.

By CorvaeOboro·Created 7 months ago·Updated 8 days ago· 1
Image Resize w Matte
  • image
  • get_image_size
  • IMAGE
  • width
  • height
width512
height512
upscale_methodlanczos
keep_proportionfalse
divisible_by2
apply_mattefalse
matte_width512
matte_height512
width_input
height_input
crop
Categoryillumorae

Inputs (13)

NameTypeDefaultDescription
imageIMAGE
widthINT5120–4096
heightINT5120–4096
upscale_methodCOMBOlanczos5 options: nearest-exact, bilinear, area, bicubic, lanczos
keep_proportionBOOLEANfalse
divisible_byINT20–512
apply_matteBOOLEANfalse
matte_widthINT5120–4096
matte_heightINT5120–4096
width_inputoptINT
height_inputoptINT
get_image_sizeoptIMAGE
cropoptCOMBO2 options: disabled, center

Outputs (3)

NameTypeDescription
IMAGEIMAGE
widthINT
heightINT