ComfyUI Node
Crop Image By Mask (PadToSquare)
Crops an image to the bounding box of a mask, scaling the box if the mask and image sizes differ.
Crop Image By Mask (PadToSquare)
- image
- mask
- image
Categoryimage/transform
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mask | MASK | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | The image cropped to the area where the mask is above 0.5. |