ComfyUI Node
Resize Mask (KJ/SET)
Resizes the mask or batch of masks to the specified width and height.
Resize Mask (KJ/SET)
- mask
- get_image_size
- mask
- width
- height
◄width512►
◄height512►
◄keep_proportionsfalse►
◄upscale_methodnearest-exact►
◄crop▾►
Categoryimage/manipulation
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | — | |
| width | INT | 5120–16384 | Used when no `get_image_size` is provided |
| height | INT | 5120–16384 | Used when no `get_image_size` is provided |
| keep_proportions | BOOLEAN | false | — |
| upscale_method | COMBO | nearest-exact | Interpolation method for image resize |
| crop | COMBO | 2 options: disabled, center | |
| get_image_sizeopt | IMAGE | Image size to use as reference |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| width | INT | — |
| height | INT | — |