Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-Desert-Pixel-Nodes > DP Stitch 2 Images

ComfyUI Node: DP Stitch 2 Images

Class Name

DP Stitch 2 Images

Category
DP/image
Author
DesertPixelAi (Account age: 840days)
Extension
ComfyUI-Desert-Pixel-Nodes
Latest Updated
2025-06-22
Github Stars
0.03K

How to Install ComfyUI-Desert-Pixel-Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-Desert-Pixel-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Desert-Pixel-Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

DP Stitch 2 Images Description

Combines two images into one seamlessly, horizontally or vertically, for panoramic or composite art.

DP Stitch 2 Images:

The DP Stitch 2 Images node is designed to seamlessly combine two images into a single cohesive image, either horizontally or vertically. This node is particularly useful for AI artists who want to create panoramic views or composite images by aligning two separate images side by side or one on top of the other. The node ensures that the images are stitched together correctly by validating their dimensions based on the chosen mode of stitching. By providing a straightforward method to concatenate images, this node enhances your creative workflow, allowing you to focus on the artistic aspects of your projects without worrying about the technical details of image alignment and merging.

DP Stitch 2 Images Input Parameters:

image1

This parameter represents the first image to be stitched. It is crucial for the execution of the node as it serves as one of the two primary inputs. The image must be provided in a compatible format, and its dimensions will be validated against the second image to ensure proper stitching. There are no specific minimum or maximum values, but the image must be non-null and correctly formatted.

image2

This parameter represents the second image to be stitched. Like image1, it is essential for the node's operation and must be provided in a compatible format. The dimensions of this image will be checked against those of image1 to ensure they match appropriately for the chosen stitching mode. The image must be non-null and correctly formatted.

mode

The mode parameter determines the direction in which the images will be stitched together. It can be set to either "Horizontal" or "Vertical," with additional options like "Horizontal_Right" or "Vertical_Down" to specify the order of the images. This parameter significantly impacts the final output, as it dictates whether the images are concatenated side by side or stacked. There are no default values, so you must specify the desired mode for each operation.

DP Stitch 2 Images Output Parameters:

stitched_image

The output parameter is the stitched image, which is the result of combining image1 and image2 according to the specified mode. This output is crucial as it represents the final product of the node's operation, providing a single image that merges the input images seamlessly. The stitched image can be used for further processing or as a final artwork, depending on your creative needs.

DP Stitch 2 Images Usage Tips:

  • Ensure that both input images have compatible dimensions based on the chosen mode to avoid errors and achieve a seamless stitch.
  • Use the "Horizontal_Right" or "Vertical_Down" modes to control the order of the images if the default order does not meet your artistic vision.
  • Experiment with different modes to explore creative compositions, such as creating diptychs or panoramic views.

DP Stitch 2 Images Common Errors and Solutions:

"Both images must be provided"

  • Explanation: This error occurs when one or both of the input images are missing or null.
  • Solution: Ensure that both image1 and image2 are correctly loaded and passed to the node before execution.

"For horizontal stitching, both images must have the same height. Image 1 height: X, Image 2 height: Y"

  • Explanation: This error indicates that the heights of the two images do not match, which is required for horizontal stitching.
  • Solution: Adjust the dimensions of the images so that they have the same height before attempting to stitch them horizontally.

"For vertical stitching, both images must have the same width. Image 1 width: X, Image 2 width: Y"

  • Explanation: This error signifies that the widths of the two images do not match, which is necessary for vertical stitching.
  • Solution: Modify the dimensions of the images to ensure they have the same width before stitching them vertically.

DP Stitch 2 Images Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Desert-Pixel-Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

DP Stitch 2 Images