Nodes/comfyui-AGSoft/AGSoft Image & Mask Resize Advanced
ComfyUI Node

AGSoft Image & Mask Resize Advanced

A ComfyUI node in AGSoft/Mask with 13 inputs and 4 outputs.

By Art-xmaster·Created 11 months ago·Updated 22 days ago· 20
AGSoft Image & Mask Resize Advanced
  • image
  • mask
  • image
  • mask
  • width
  • height
width0
height0
scale_by1.00
upscale_method
resize_mode
pad_image_colorwhite
pad_mask_colorblack
invert_maskfalse
crop_position
divisible_by8
device
CategoryAGSoft/Mask

Inputs (13)

NameTypeDefaultDescription
imageIMAGE
maskMASK
widthINT00–8192
heightINT00–8192
scale_byFLOAT1.000.01–16
upscale_methodCOMBO5 options: nearest, bilinear, bicubic, area, lanczos
resize_modeCOMBO3 options: stretch, crop, pad
pad_image_colorCOMBOwhite12 options: black, white, gray, red, green, blue, +6
pad_mask_colorCOMBOblack12 options: black, white, gray, red, green, blue, +6
invert_maskBOOLEANfalse
crop_positionCOMBO9 options: center, top, bottom, left, right, top_left, +3
divisible_byINT81–128
deviceCOMBO2 options: cpu, cuda

Outputs (4)

NameTypeDescription
imageIMAGE
maskMASK
widthINT
heightINT