ComfyUI Node
Cropped Image (CCN)
Interactive visual crop. Drag corners on the canvas preview to define a crop region. 'image' output is resized to model-friendly dimensions (floored to snap_to); 'raw_image' is the exact pixel crop; 'source_image' passes through the original uncropped image.
Cropped Image (CCN)
- image
- image
- raw_image
- mask
- crop_x
- crop_y
- crop_width
- crop_height
- source_image
◄lock_ratiofalse►
◄snap_to8►
◄crop_x10.0000►
◄crop_y10.0000►
◄crop_x21.0000►
◄crop_y21.0000►
◄loaded_image▾►
◄debugfalse►
CategoryComfyCollectorNodes/Image
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| lock_ratio | BOOLEAN | false | — |
| snap_to | INT | 81–64 | Model-friendly output dimensions are floored to this multiple. |
| crop_x1 | FLOAT | 0.00000–1 | — |
| crop_y1 | FLOAT | 0.00000–1 | — |
| crop_x2 | FLOAT | 1.00000–1 | — |
| crop_y2 | FLOAT | 1.00000–1 | — |
| imageopt | IMAGE | — | |
| loaded_imageopt | COMBO | 2 options: none, example.png | |
| debugopt | BOOLEAN | false | — |
Outputs (8)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| raw_image | IMAGE | — |
| mask | MASK | — |
| crop_x | INT | — |
| crop_y | INT | — |
| crop_width | INT | — |
| crop_height | INT | — |
| source_image | IMAGE | — |