ComfyUI Node
D2 Cut By Mask
A ComfyUI node in D2/Image with 9 inputs and 3 outputs.
D2 Cut By Mask
- images
- mask
- image
- mask
- rect
◄cut_type▾►
◄output_size▾►
◄round_to▾►
◄padding0►
◄min_width0►
◄min_height0►
◄output_alphatrue►
CategoryD2/Image
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| mask | MASK | — | |
| cut_type | COMBO | 3 options: mask, rectangle, square_thumb | |
| output_size | COMBO | 2 options: mask_size, image_size | |
| round_toopt | COMBO | 5 options: none, 8px, 16px, 32px, 64px | |
| paddingopt | INT | 00–1000 | — |
| min_widthopt | INT | 00–10000 | — |
| min_heightopt | INT | 00–10000 | — |
| output_alphaopt | BOOLEAN | true | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| rect | INT | — |