ComfyUI > Nodes > Bjornulf_custom_nodes > πŸ–ΌπŸ–Ό Merge Images/Videos πŸ“ΉπŸ“Ή (Vertically)

ComfyUI Node: πŸ–ΌπŸ–Ό Merge Images/Videos πŸ“ΉπŸ“Ή (Vertically)

Class Name

Bjornulf_MergeImagesVertically

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 πŸ“ΉπŸ“Ή (Vertically) Description

Merge multiple images vertically with PyTorch and NumPy for AI artists creating composite visuals.

πŸ–ΌπŸ–Ό Merge Images/Videos πŸ“ΉπŸ“Ή (Vertically):

The Bjornulf_MergeImagesVertically node is designed to seamlessly combine multiple images into a single, vertically aligned image. This node is particularly useful for AI artists who want to create composite images by stacking them one on top of the other. By leveraging the power of PyTorch and NumPy, this node efficiently handles image data, ensuring that the final output maintains the quality and integrity of the original images. The primary goal of this node is to provide a straightforward and efficient method for merging up to four images vertically, making it an essential tool for creating complex visual compositions without the need for extensive manual editing.

πŸ–ΌπŸ–Ό Merge Images/Videos πŸ“ΉπŸ“Ή (Vertically) Input Parameters:

image1

image1 is the first required input image that will be used as the base for the vertical merging process. This parameter is crucial as it sets the initial dimensions and color channels for the combined image. There are no specific minimum or maximum values for this parameter, but it should be a valid image tensor with appropriate dimensions.

image2

image2 is the second required input image that will be stacked vertically below image1. This parameter is essential for creating the vertical composite, and like image1, it should be a valid image tensor. The dimensions of image2 will influence the overall height of the final merged image.

image3

image3 is an optional input parameter that allows you to add a third image to the vertical stack. If provided, this image will be placed below image2. This parameter offers flexibility in creating more complex compositions by adding additional layers to the merged image.

image4

image4 is another optional input parameter that enables you to include a fourth image in the vertical stack. If used, this image will be positioned below image3, further extending the height of the final composite image. This parameter is useful for artists looking to create even more intricate vertical compositions.

πŸ–ΌπŸ–Ό Merge Images/Videos πŸ“ΉπŸ“Ή (Vertically) Output Parameters:

IMAGE

The output parameter IMAGE represents the final vertically merged image. This output is a single image tensor that combines all the input images into one cohesive visual. The importance of this output lies in its ability to maintain the quality and color integrity of the original images while presenting them in a unified vertical format. This output can be used for further processing or as a final artwork.

πŸ–ΌπŸ–Ό Merge Images/Videos πŸ“ΉπŸ“Ή (Vertically) Usage Tips:

  • Ensure that all input images have the same number of color channels to avoid unexpected results in the merged image.
  • Use images with similar widths to maintain a consistent and visually appealing vertical alignment in the final output.

πŸ–ΌπŸ–Ό Merge Images/Videos πŸ“ΉπŸ“Ή (Vertically) Common Errors and Solutions:

Mismatched Image Dimensions

  • Explanation: This error occurs when the input images have different numbers of color channels or incompatible dimensions.
  • Solution: Verify that all input images have the same number of color channels and similar widths before merging.

Invalid Image Tensor

  • Explanation: This error arises when one or more input parameters are not valid image tensors.
  • Solution: Ensure that all input images are correctly formatted as image tensors with appropriate dimensions and data types.

πŸ–ΌπŸ–Ό Merge Images/Videos πŸ“ΉπŸ“Ή (Vertically) 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.