Image Grid Pixaroma
Image Grid Pixaroma - puts every picture of a Run into one grid image. When Load Images from Folder, Prompt Each or a Loop sends many pictures through a workflow, a preview shows only the last one. Wire the results into images and this node collects ALL of them into one picture, with each file name under its picture. Wire the original pictures into before to see before and after: each original sits above its result. Wire Load Images from Folder's filename into names to label each picture with its file name (without it they are numbered). Columns 0 picks a near-square grid by itself. The grid shows on the node and comes out of the grid output: wire it into Save Image Pixaroma to keep it. It works on a plain batch too. Very large grids are scaled down to 8192 pixels on the long side, and up to 1024 pictures are used. Wire it to the pictures BEFORE a gate that holds some back (Text Match's if_match): ComfyUI skips the whole grid when any picture of the list was held back.
- images
- before
- grid
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | The pictures to collect, usually the results of a folder or list Run. A batch works too. | |
| columns | INT | 00–64 | How many pictures side by side. 0 = automatic, a near-square grid. |
| cell_size | INT | 38464–2048 | The size of each picture in the grid, in pixels (its longest side). The picture keeps its shape. |
| gap | INT | 80–128 | The space between the pictures, in pixels. |
| background | COMBO | dark | The colour behind the pictures. The names are written in a colour that reads on it. |
| show_names | BOOLEAN | true | Write each picture's name (or its number) under it. |
| title | STRING | Optional. A title across the top of the grid. | |
| beforeopt | IMAGE | Optional. The original pictures, in the same order: each one is shown above its result. | |
| namesopt | STRING | Optional. A name for each picture, for example Load Images from Folder's filename output. Not wired: the pictures are numbered. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| grid | IMAGE | The grid as one picture. Wire it into Save Image Pixaroma to keep it. |