Nodes/Nougan_Nodes/Nougan Match Image Size πŸ“
ComfyUI Node

Nougan Match Image Size πŸ“

A ComfyUI node in Nougan/image with 9 inputs and 4 outputs.

By WinnouganΒ·Created about a month agoΒ·Updated 19 days agoΒ· 3
Nougan Match Image Size πŸ“
  • input
  • reference_image
  • image
  • mask
  • width
  • height
β—„resize_typescale dimensionsβ–Ί
β—„scale_methodlanczosβ–Ί
β—„width0β–Ί
β—„height0β–Ί
β—„cropcenterβ–Ί
β—„pad_color#000000β–Ί
β—„round_to1β–Ί
CategoryNougan/image

Inputs (9)

NameTypeDefaultDescription
inputIMAGE,MASKβ€”
resize_typeCOMBOscale dimensions8 options: scale dimensions, fit within, fill (crop), pad to, shortest side, longest side, +2
scale_methodCOMBOlanczos5 options: nearest-exact, bilinear, area, bicubic, lanczos
reference_imageoptIMAGE,MASKβ€”
widthoptINT00–163840 = use reference width
heightoptINT00–163840 = use reference height
cropoptCOMBOcenterused by 'scale dimensions'
pad_coloroptSTRING#000000hex color used by 'pad to'
round_tooptINT11–128round computed dims to a multiple (e.g. 32)

Outputs (4)

NameTypeDescription
imageIMAGEβ€”
maskMASKβ€”
widthINTβ€”
heightINTβ€”