ComfyUI > Nodes > Bjornulf_custom_nodes > 🖼🖼 Merge Images/Videos 📹📹 (Horizontally)

ComfyUI Node: 🖼🖼 Merge Images/Videos 📹📹 (Horizontally)

Class Name

Bjornulf_MergeImagesHorizontally

Category
Bjornulf
Author
justUmen (Account age: 3046days)
Extension
Bjornulf_custom_nodes
Latest Updated
2025-02-28
Github Stars
0.2K

How to Install Bjornulf_custom_nodes

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

🖼🖼 Merge Images/Videos 📹📹 (Horizontally) Description

Combine multiple images into a single, horizontally aligned image efficiently using PyTorch.

🖼🖼 Merge Images/Videos 📹📹 (Horizontally):

The Bjornulf_MergeImagesHorizontally node is designed to seamlessly combine multiple images into a single, horizontally aligned image. This node is particularly useful for AI artists who wish to create panoramic views or composite images by placing images side by side. By leveraging the power of PyTorch, this node efficiently handles image data, ensuring that the resulting composite image maintains high quality and consistency. The node is capable of merging up to four images, automatically adjusting the total width and aligning the images based on their heights. This functionality is essential for creating visually appealing and coherent image compositions without the need for manual adjustments.

🖼🖼 Merge Images/Videos 📹📹 (Horizontally) Input Parameters:

image1

image1 is the first required input image for the merging process. It serves as the starting point for the horizontal composition. The quality and dimensions of this image will influence the overall appearance of the final merged image. There are no specific minimum or maximum values, but the image should be in a compatible format and resolution for optimal results.

image2

image2 is the second required input image that will be placed next to image1 in the horizontal composition. Like image1, its dimensions and quality will affect the final output. It should be in a compatible format and resolution to ensure a seamless merge.

image3

image3 is an optional input parameter that allows you to add a third image to the horizontal composition. If provided, this image will be placed next to image2. This parameter offers flexibility in creating more complex compositions by adding additional visual elements.

image4

image4 is another optional input parameter for adding a fourth image to the composition. If used, this image will be placed next to image3, further extending the horizontal panorama. This parameter is useful for creating extensive image sequences or storytelling visuals.

🖼🖼 Merge Images/Videos 📹📹 (Horizontally) Output Parameters:

IMAGE

The output parameter is a single composite image that results from merging the input images horizontally. This image retains the original quality and color depth of the input images, ensuring that the final product is suitable for further artistic manipulation or presentation. The output image's width is the sum of the widths of the input images, while its height is determined by the tallest input image, ensuring a consistent and visually appealing result.

🖼🖼 Merge Images/Videos 📹📹 (Horizontally) Usage Tips:

  • Ensure that all input images have similar color profiles and resolutions to achieve a seamless merge without noticeable transitions.
  • Use the optional image3 and image4 parameters to create more complex compositions, such as storytelling sequences or panoramic views.

🖼🖼 Merge Images/Videos 📹📹 (Horizontally) Common Errors and Solutions:

Image dimension mismatch

  • Explanation: This error occurs when the input images have incompatible dimensions, which can lead to misalignment or unexpected results.
  • Solution: Ensure that all input images have similar dimensions or use an image editing tool to resize them before merging.

Unsupported image format

  • Explanation: The node may not support certain image formats, leading to errors during processing.
  • Solution: Convert your images to a supported format, such as JPEG or PNG, before using the node.

🖼🖼 Merge Images/Videos 📹📹 (Horizontally) Related Nodes

Go back to the extension to check out more related nodes.
Bjornulf_custom_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 Playground, enabling artists to harness the latest AI tools to create incredible art.