Nodes/GraftingRayman/GR Tile and Border Image
ComfyUI Node

GR Tile and Border Image

Repeat one image into a grid, with a colored border between copies

By GraftingRayman·Created 2 years ago·Updated about a month ago· 76
GR Tile and Border Image
  • image
  • IMAGE
columns
rows
border0
colour

Takes one image and repeats it into a columns x rows grid, with an optional colored border between the copies. Useful for quick pattern or texture sheets, contact-sheet-style repeats, or turning a single generated image into a wallpaper-style tile test before you commit to something fancier.

How it works

image, columns (minimum 1), and rows (minimum 1) are the only required inputs beyond the border styling - set the grid density and the node repeats your source image that many times across and down into one combined canvas. border (pixels, defaults to 0, so tiles butt directly against each other unless you set one) and colour (seven basic choices) add a dividing line between copies.

There's no upper bound on columns or rows in the schema, which means nothing stops you from asking for a genuinely huge grid - the output canvas size scales directly with tile count, so a big grid on a big source image can eat memory fast. Start small, check the result, and scale up once you know the output dimensions you actually want.

If straight repetition looks too obviously mechanical - the "this is clearly one image copy-pasted" look - this pack's sibling node, GR Tile and Border Image Random Flip, does the same tiling but randomly mirrors individual tiles instead of repeating the source identically.

The inputs and outputs that matter

  • image - the source to tile.
  • columns / rows - grid dimensions, both minimum 1.
  • border / colour - an optional divider between tiles, seven basic colors.

One output: IMAGE, the tiled composite.

How to install it

ComfyUI Manager, search GraftingRayman. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/GraftingRayman/ComfyUI_GraftingRayman

Restart afterward. The pack fails to import entirely without OpenAI's CLIP installed separately, even though this node has nothing to do with CLIP - portable ComfyUI: .\python_embeded\python.exe -m pip install git+https://github.com/openai/CLIP.git; system Python: pip install git+https://github.com/openai/CLIP.git.

Common issues & troubleshooting

Pack fails to load. Check your startup console for the CLIP import error and run the pip install above.

Run is slow or runs out of memory on a large grid. columns and rows have no ceiling in the schema - a large grid on a large source image multiplies canvas size fast. Drop the grid size, confirm the layout looks right, then scale up.

No divider visible between tiles. border defaults to 0 - set it explicitly along with a colour if you want a visible gutter.

Repetition looks too obviously repeated. That's expected - this node repeats the source identically every time. Use GR Tile and Border Image Random Flip if you want each tile mirrored to break up the pattern.

CategoryGraftingRayman/Tiles

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
columnsINT
rowsINT
borderINT0
colourCOMBO7 options: black, white, red, blue, green, purple, +1

Outputs (1)

NameTypeDescription
IMAGEIMAGE