Nodes/ComfyUI-AusBoss/Image Toolbox πŸ†Ž
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.

By ausbossΒ·Created 4 months agoΒ·Updated about 5 hours agoΒ· 163
Image Toolbox πŸ†Ž
  • image
  • images
  • rest
β—„jobsplit sheet at gapsβ–Ί
β—„pieces4β–Ί
β—„width512β–Ί
β—„height512β–Ί
β—„positiontop leftβ–Ί
β—„move_right0β–Ί
β—„move_down0β–Ί
CategoryπŸ†Ž AusBoss/Image

Inputs (8)

NameTypeDefaultDescription
imageIMAGEThe picture to work on. A batch is worked on picture by picture.
jobCOMBOsplit sheet at gapsWhat 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.
piecesINT41–16How many pictures sit side by side on the sheet. 4 for a four-view character sheet.
widthoptINT5120–16384For cut a piece: how wide the piece is, in pixels. 0 takes the picture's full width.
heightoptINT5120–16384For cut a piece: how tall the piece is, in pixels. 0 takes the picture's full height.
positionoptCOMBOtop leftFor cut a piece: where on the picture the piece sits before it is moved. top left starts at the top left corner.
move_rightoptINT0-16384–16384For cut a piece: moves the piece right by this many pixels; below 0 moves it left. It stops at the picture's edge.
move_downoptINT0-16384–16384For 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)

NameTypeDescription
imagesIMAGEThe result. For split sheet at gaps: the pieces from left to right, one batch, all the same size. For cut a piece: the piece.
restIMAGEFor 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.