ComfyUI Node

DP Image Strip

Paste a batch of images into one strip

By DesertPixelAi·Created 2 years ago·Updated about a year ago· 25
DP Image Strip
  • images
  • image_strip
mode

Take a batch of images and lay them out side by side (or stacked) into a single image. That's it, and that's plenty. It's the node you want for a before/after comparison, a filmstrip of a batch, or a contact sheet you can post as one file instead of a gallery of separate PNGs.

It's a straightforward image utility in DesertPixelAi's Desert Pixel pack.

How it works

You feed a batch of images into images, and pick a mode that sets the layout direction:

  • Horizontal_Right - placed left to right.
  • Horizontal_Left - placed right to left.
  • Vertical_Up - stacked bottom to top.
  • Vertical_Down - stacked top to bottom.

The node concatenates the whole batch in that direction and returns one combined image on image_strip (IMAGE). Wire that into a Save Image (or DP Save Preview Image) and you've got your composite.

The direction options matter more than they look: horizontal is the natural choice for comparing variations of a portrait, vertical for wide landscape crops, and the left/right and up/down variants let you control reading order - useful when the sequence tells a story (a progression, a step-by-step) and you want it to flow the right way.

A couple of places it earns its keep: assembling a grid/montage to post as a single image (a "workflow result" share that shows all your variations at once), and building side-by-side comparison shots when you're tuning a setting and want the difference obvious in one frame. It's also a quick way to turn a batch into one image before an upscaler or a caption pass, rather than handling each frame separately.

The inputs and outputs that matter

Two inputs, both essential: the images batch and the mode. There's nothing to over-think here - this is one of those honest little nodes that does exactly one job.

How to install it

ComfyUI Manager: search Desert Pixel, install, restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/DesertPixelAi/ComfyUI-Desert-Pixel-Nodes

Restart ComfyUI. No downloads. Under the DP category.

Common issues & troubleshooting

The strip is misaligned or images look cropped. Concatenation works cleanest when the images share dimensions. If your batch has mixed sizes, resize them to a common width (for a horizontal strip) or height (for a vertical one) first - DP Resize Image And Mask handles that.

I only have separate images, not a batch. The images input expects a single batched tensor. If your images come from different nodes, combine them into one batch first with an image-batch node (many packs, including ComfyUI core's Rebatch/Batch nodes, do this), then feed that in.

The order is wrong. Order follows the batch order, and the mode sets the direction. Swap between the _Right/_Left (or _Up/_Down) variants to reverse reading direction, or reorder the batch upstream if you need a specific sequence.

It's huge. A strip of ten 1024px images is a very large image. That's expected - it's every frame side by side. Downscale the result afterward if you just need a preview-sized composite.

CategoryDP/image

Inputs (2)

NameTypeDefaultDescription
imagesIMAGE
modeCOMBO4 options: Horizontal_Right, Horizontal_Left, Vertical_Up, Vertical_Down

Outputs (1)

NameTypeDescription
image_stripIMAGE