Image Pad KJ (Swwan)

ImagePadKJ

Pad the input image and optionally mask with the specified padding.

Pack: ComfyUI_Swwan

custom_nodes.ComfyUI_Swwan

Inputs (11)

NameTypeRequired
imageIMAGErequired
leftINTrequired
rightINTrequired
topINTrequired
bottomINTrequired
extra_paddingINTrequired
pad_modeCOMBOrequired
colorSTRINGrequired
maskMASKoptional
target_widthINToptional
target_heightINToptional

Outputs (2)

NameType
imagesIMAGE
masksMASK