ComfyUI Node
LiveCrop
Visually crop an image with interactive guides. Use sliders or drag the red guides in the node UI to set crop amounts. Negative values crop from that side. Semantics (per side): - crop_top < 0: removes |value|*height from top. - crop_bottom < 0: removes |value|*height from bottom. - crop_left < 0: removes |value|*width from left. - crop_right < 0: removes |value|*width from right. All crop parameters are in the range [-1, 0], representing a fraction of the original dimension.
LiveCrop
- image_ex
- image
- mask
- IMAGE_EX
- image
- mask
- BBOX
- BBOX%
◄crop_top0.000►
◄crop_bottom0.000►
◄crop_left0.000►
◄crop_right0.000►
◄rotate_degrees0►
Categoryovum
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| crop_top | FLOAT | 0.000-1–0 | Negative values crop from top. |
| crop_bottom | FLOAT | 0.000-1–0 | Negative values crop from bottom. |
| crop_left | FLOAT | 0.000-1–0 | Negative values crop from left. |
| crop_right | FLOAT | 0.000-1–0 | Negative values crop from right. |
| rotate_degrees | INT | 0-180–180 | Rotate by multiples of 90 degrees. |
| image_exopt | DICT | — | |
| imageopt | IMAGE | — | |
| maskopt | MASK | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| IMAGE_EX | DICT | — |
| image | IMAGE | — |
| mask | MASK | — |
| BBOX | LIST | — |
| BBOX% | LIST | — |