ComfyUI > Nodes > Comfyui_PDuse > PDIMAGE:ImageCombine

ComfyUI Node: PDIMAGE:ImageCombine

Class Name

PDIMAGE_ImageCombine

Category
ImageProcessing
Author
7BEII (Account age: 453days)
Extension
Comfyui_PDuse
Latest Updated
2026-03-25
Github Stars
0.05K

How to Install Comfyui_PDuse

Install this extension via the ComfyUI Manager by searching for Comfyui_PDuse
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui_PDuse 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

PDIMAGE:ImageCombine Description

Merges two images into one, aligning them horizontally or vertically with channel adjustments.

PDIMAGE:ImageCombine:

The PDIMAGE_ImageCombine node is designed to seamlessly merge two images into a single composite image. This node is particularly useful for AI artists who want to create complex visual compositions by aligning images in various orientations. The primary function of this node is to concatenate two images either horizontally or vertically, depending on the specified direction. It automatically handles differences in the number of channels between the images by adding an alpha channel to the image with fewer channels, ensuring a smooth and consistent combination. This capability allows for creative flexibility, enabling users to experiment with different image layouts and achieve desired artistic effects without worrying about technical inconsistencies.

PDIMAGE:ImageCombine Input Parameters:

image1

image1 is the first image tensor that you want to combine. It serves as one of the base images for the concatenation process. The node will adjust the number of channels if necessary to match image2, ensuring a seamless merge.

image2

image2 is the second image tensor to be combined with image1. Like image1, it will be adjusted in terms of channels if needed. The node resizes this image to match the dimensions of image1 before concatenation.

direction

The direction parameter determines the orientation of the image combination. It accepts values such as right, down, left, and up, which dictate whether the images are concatenated horizontally or vertically. This parameter is crucial for defining the final layout of the combined image.

PDIMAGE:ImageCombine Output Parameters:

concatenated_image

The concatenated_image is the resulting image tensor after the combination of image1 and image2. This output represents the merged image, reflecting the specified direction and any necessary channel adjustments. It is the final product that can be used for further artistic processing or display.

PDIMAGE:ImageCombine Usage Tips:

  • Ensure that both images have compatible dimensions for a smoother combination process. If necessary, pre-process the images to have matching heights or widths.
  • Experiment with different direction values to achieve various artistic effects, such as creating panoramic views or vertical collages.
  • Use images with similar color profiles to maintain visual consistency in the combined image.

PDIMAGE:ImageCombine Common Errors and Solutions:

Mismatched Image Dimensions

  • Explanation: The images have different dimensions, which can lead to unexpected results or errors during concatenation.
  • Solution: Pre-process the images to ensure they have matching dimensions before using the node.

Channel Mismatch

  • Explanation: The images have a different number of channels, which can cause issues during the combination process.
  • Solution: The node automatically adds an alpha channel to the image with fewer channels, but ensure that both images are in a compatible format to avoid unexpected results.

Invalid Direction Value

  • Explanation: An invalid value is provided for the direction parameter, leading to errors in the concatenation process.
  • Solution: Use only the specified values (right, down, left, up) for the direction parameter to ensure proper functionality.

PDIMAGE:ImageCombine Related Nodes

Go back to the extension to check out more related nodes.
Comfyui_PDuse
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.