Nodes/Painting Coder Utils/Image Resolution Adjuster 📐
ComfyUI Node

Image Resolution Adjuster 📐

A ComfyUI node in 🎨Painting👓Coder/🖼️Image with 12 inputs and 4 outputs.

By jammyfu·Created 2 years ago·Updated about a year ago· 16
Image Resolution Adjuster 📐
  • images
  • images
  • mask
  • width
  • height
target_resolution
extend_mode
scale_factor1.0
max_width2048
max_height2048
min_width640
min_height640
background_color#000000
feathering40
invert_maskfalse
add_outlinefalse
Category🎨Painting👓Coder/🖼️Image

Inputs (12)

NameTypeDefaultDescription
imagesIMAGE
target_resolutionCOMBO19 options: 5:12 (640x1536), 1:2 (768x1536), 9:16 (816x1456), 4:7 (768x1344), 2:3 (896x1344), 2:3 (832x1216), +13
extend_modeCOMBO10 options: contain, cover, fill, inside, outside, top, +4
scale_factorFLOAT1.00.1–10
max_widthINT20481–8192
max_heightINT20481–8192
min_widthINT6401–8192
min_heightINT6401–8192
background_colorSTRING#000000
featheringINT400–512
invert_maskBOOLEANfalse
add_outlineBOOLEANfalse

Outputs (4)

NameTypeDescription
imagesIMAGE
maskMASK
widthINT
heightINT