ComfyUI Node
Crop By Mask (UTK)
A ComfyUI node in UniversalToolkit/Image with 8 inputs and 5 outputs.
Crop By Mask (UTK)
- image
- mask_for_crop
- croped_image
- croped_mask
- crop_box
- box_preview
- remaining_area
◄invert_maskfalse►
◄detect▾►
◄top_reserve20►
◄bottom_reserve20►
◄left_reserve20►
◄right_reserve20►
CategoryUniversalToolkit/Image
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mask_for_crop | MASK | — | |
| invert_mask | BOOLEAN | false | — |
| detect | COMBO | 3 options: min_bounding_rect, max_inscribed_rect, mask_area | |
| top_reserve | INT | 20-9999–9999 | — |
| bottom_reserve | INT | 20-9999–9999 | — |
| left_reserve | INT | 20-9999–9999 | — |
| right_reserve | INT | 20-9999–9999 | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| croped_image | IMAGE | — |
| croped_mask | MASK | — |
| crop_box | BOX | — |
| box_preview | IMAGE | — |
| remaining_area | MASK | — |