ComfyUI Node
♾️ Image Crop
Crop an image and mask at x,y coordinates with given size. Generate image and mask preview for interactive cropping.
♾️ Image Crop
- image
- mask
- source
- cut
- size
- x
- y
- cut_mask
◄x0►
◄y0►
◄size512►
◄colorblack►
◄show_masktrue►
CategoryLOOP
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| x | INT | 00–32768 | x origin of the crop. |
| y | INT | 00–32768 | y origin of the crop. |
| size | INT | 512256–2048 | size of the crop. By 8 pixels increments. |
| color | COMBO | black | Color of the crop rectangle in the preview. |
| show_mask | BOOLEAN | true | Show or hide preview mask |
| maskopt | MASK | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| source | IMAGE | — |
| cut | IMAGE | — |
| size | INT | — |
| x | INT | — |
| y | INT | — |
| cut_mask | MASK | — |