ComfyUI Node
Image Toolbox π
Small picture jobs in one node: pick the job from the list. split sheet at gaps cuts a row of pictures, such as a character sheet's views, into separate pictures. Each cut goes to the gap between two pictures, not to an equal share of the width, so no piece gets part of its neighbour. The pieces come out as one batch, all the same size, padded with the sheet's backdrop colour. cut a piece cuts one piece of the width and height you set, at the position you pick, and gives back the rest of the picture too.
Image Toolbox π
- image
- images
- rest
βjobsplit sheet at gapsβΊ
βpieces4βΊ
βwidth512βΊ
βheight512βΊ
βpositiontop leftβΊ
βmove_right0βΊ
βmove_down0βΊ
Categoryπ AusBoss/Image
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The picture to work on. A batch is worked on picture by picture. | |
| job | COMBO | split sheet at gaps | What to do with the picture. split sheet at gaps: cut a row of pictures apart at the gaps between them. cut a piece: cut out one piece of the size you set. |
| pieces | INT | 41β16 | How many pictures sit side by side on the sheet. 4 for a four-view character sheet. |
| widthopt | INT | 5120β16384 | For cut a piece: how wide the piece is, in pixels. 0 takes the picture's full width. |
| heightopt | INT | 5120β16384 | For cut a piece: how tall the piece is, in pixels. 0 takes the picture's full height. |
| positionopt | COMBO | top left | For cut a piece: where on the picture the piece sits before it is moved. top left starts at the top left corner. |
| move_rightopt | INT | 0-16384β16384 | For cut a piece: moves the piece right by this many pixels; below 0 moves it left. It stops at the picture's edge. |
| move_downopt | INT | 0-16384β16384 | For cut a piece: moves the piece down by this many pixels; below 0 moves it up. It stops at the picture's edge. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | The result. For split sheet at gaps: the pieces from left to right, one batch, all the same size. For cut a piece: the piece. |
| rest | IMAGE | For cut a piece: the rest of the picture. A piece that takes a whole side leaves the strip beside it; any other piece leaves the picture with its hole filled with the backdrop colour. Other jobs pass the picture through. |