ComfyUI Node
AGSoft Image & Mask Resize Advanced
A ComfyUI node in AGSoft/Mask with 13 inputs and 4 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mask | MASK | — | |
| width | INT | 00–8192 | — |
| height | INT | 00–8192 | — |
| scale_by | FLOAT | 1.000.01–16 | — |
| upscale_method | COMBO | 5 options: nearest, bilinear, bicubic, area, lanczos | |
| resize_mode | COMBO | 3 options: stretch, crop, pad | |
| pad_image_color | COMBO | white | 12 options: black, white, gray, red, green, blue, +6 |
| pad_mask_color | COMBO | black | 12 options: black, white, gray, red, green, blue, +6 |
| invert_mask | BOOLEAN | false | — |
| crop_position | COMBO | 9 options: center, top, bottom, left, right, top_left, +3 | |
| divisible_by | INT | 81–128 | — |
| device | COMBO | 2 options: cpu, cuda |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| width | INT | — |
| height | INT | — |