ComfyUI Node
Image Crop With BBox Mask
A ComfyUI node in 1hewNodes/image/crop with 8 inputs and 3 outputs.
Image Crop With BBox Mask
- image
- mask
- get_crop_ratio
- cropped_image
- bbox_mask
- cropped_mask
◄preset_ratiomask►
◄scale_strength0.00►
◄crop_to_sideNone►
◄crop_to_length1024►
◄divisible_by8►
Category1hewNodes/image/crop
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mask | MASK | — | |
| preset_ratio | COMBO | mask | 13 options: mask, image, auto, 9:16, 2:3, 3:4, +7 |
| scale_strength | FLOAT | 0.000–1 | — |
| crop_to_side | COMBO | None | 5 options: None, longest, shortest, width, height |
| crop_to_length | INT | 10248–8192 | — |
| divisible_by | INT | 81–1024 | — |
| get_crop_ratioopt | IMAGE | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| cropped_image | IMAGE | — |
| bbox_mask | MASK | — |
| cropped_mask | MASK | — |