ComfyUI Node
Resize Mask To Ratio (YC)
A ComfyUI node in YCNode/Mask with 3 inputs and 1 output.
Resize Mask To Ratio (YC)
- mask
- resized_mask
◄ratio1:1►
◄padding_modecenter►
CategoryYCNode/Mask
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | — | |
| ratio | COMBO | 1:1 | 7 options: 1:1, 3:4, 4:3, 9:16, 16:9, 3:2, +1 |
| padding_mode | COMBO | center | 3 options: center, top_left, bottom_right |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| resized_mask | MASK | — |