ComfyUI Node
DIGIT Drag Crop
A ComfyUI node in DIGIT with 15 inputs and 3 outputs.
DIGIT Drag Crop
- image
- mask
- IMAGE
- MASK
- CROP_JSON
◄drawing_versioninit►
◄crop_left0►
◄crop_right0►
◄crop_top0►
◄crop_bottom0►
◄crop_width512►
◄crop_height512►
◄last_width0►
◄last_height0►
◄dest_width0►
◄dest_height0►
◄fit_modenone►
◄round_tooff►
CategoryDIGIT
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| drawing_version | STRING | init | — |
| image | IMAGE | — | |
| crop_left | INT | 00–8192 | — |
| crop_right | INT | 00–8192 | — |
| crop_top | INT | 00–8192 | — |
| crop_bottom | INT | 00–8192 | — |
| crop_width | INT | 5121–8192 | — |
| crop_height | INT | 5121–8192 | — |
| last_width | INT | 0 | — |
| last_height | INT | 0 | — |
| maskopt | MASK | — | |
| dest_widthopt | INT | 00–8192 | Destination width. 0 = use crop size as-is. |
| dest_heightopt | INT | 00–8192 | Destination height. 0 = use crop size as-is. |
| fit_modeopt | COMBO | none | none=no resize, crop=fill and crop, fit_h=match height, fit_v=match width |
| round_toopt | COMBO | off | Round output dimensions to nearest multiple. 8 works for most models, 64 for SDXL. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| MASK | MASK | — |
| CROP_JSON | STRING | — |