PixaromaHelp
Help › Nodes › Image

Image Grid Pixaroma

Every picture of a Run in one grid image, with each file name under its picture.

In ComfyUI: double-click an empty spot on the canvas and type Image Grid Pixaroma.

What it does

When Load Images from Folder, Prompt Each or a Loop sends many pictures through a workflow, a preview only shows the last one. Image Grid collects ALL of them into one picture, laid out in a grid, so you can see the whole Run at once, share it, or compare.

The grid shows on the node and comes out of the grid output. Wire it into Save Image Pixaroma to keep it.

How to use

  • Wire the results into images.
  • Wire Load Images from Folder's filename into names to write each file name under its picture. Without it the pictures are numbered.
  • Wire the original pictures into before for a before and after grid: each original sits above its result.
  • columns 0 picks a near-square grid by itself. cell_size is the size of each picture, gap the space between them, and title writes a line across the top.

Good to know

  • It works on a plain batch too, for example the 4 pictures of one KSampler.
  • The cells take the shape of the pictures: wide pictures get wide cells, tall pictures tall ones, so there is no empty band around them. A mix of wide and tall gets square cells, and every picture keeps its shape.
  • Very big grids are scaled down to 8192 pixels on the long side, and up to 1024 pictures are used.
  • Do not put it after a gate that holds pictures back (Text Match's if_match): ComfyUI then skips the whole grid. Wire it to the pictures BEFORE the gate.

What you wire in

imagesIMAGE
The pictures to collect, usually the results of a folder or list Run. A batch works too.
beforeIMAGEoptional
Optional. The original pictures, in the same order: each one is shown above its result.
namesSTRINGoptional
Optional. A name for each picture, for example Load Images from Folder's filename output. Not wired: the pictures are numbered.

The settings on the node

columnsnumberdefault 0
How many pictures side by side. 0 = automatic, a near-square grid.
cell_sizenumberdefault 384
The size of each picture in the grid, in pixels (its longest side). The picture keeps its shape.
gapnumberdefault 8
The space between the pictures, in pixels.
backgroundchoicedefault dark
The colour behind the pictures. The names are written in a colour that reads on it.
darkwhiteblackgrey
show_nameson / offdefault on
Write each picture's name (or its number) under it.
titletext
Optional. A title across the top of the grid.

What comes out

gridIMAGE
The grid as one picture. Wire it into Save Image Pixaroma to keep it.
Perfect for a contact sheet of a folder Run, a before and after for a tutorial, or a quick look at 100 prompts.

This is the help that comes with Pixaroma 1.4.212. Inside ComfyUI, select the node and click the orange ? above it to read the same help there.