ComfyUI Node
kubakub uncrop
Puts an edited crop back where kubakub crop cut it from: scaled to the box, with a soft edge (none where the box lies on the picture's border). Only the part over the picture comes back (canvas added past the edge is left out). The original may come at another size: the box goes to the same spot of it. A mask limits the paste (white = paste).
kubakub uncrop
- original
- crop
- crop_box
- mask
- image
◄soft_edge16►
Categorykubakub/utils
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| original | IMAGE | The picture the crop was cut from (or the same at another size). | |
| crop | IMAGE | The edited crop (any size: it is scaled to the box). | |
| crop_box | KUBA_CROP_BOX | From kubakub crop. | |
| soft_edge | INT | 160–512 | How wide the blend is at the box's edges, in pixels of the original. |
| maskopt | MASK | Paste only where this is white: a mask of the crop, or of the whole original. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |