Visit ComfyUI Online for ready-to-use ComfyUI environment
Combine multiple images into a single image vertically or horizontally for creating collages or composite images with normalized dimensions.
The Stack Images (mtb) node is designed to combine multiple images into a single image by stacking them either vertically or horizontally. This node is particularly useful for creating composite images, collages, or any visual representation where multiple images need to be displayed together in a structured manner. By normalizing the input images to a consistent format and ensuring they have compatible dimensions, the node guarantees a seamless stacking process. This functionality is essential for AI artists who want to merge different visual elements into a cohesive output without manually adjusting each image's size and format.
The vertical
parameter determines the direction in which the images will be stacked. When set to True
, the images are stacked vertically, one on top of the other. When set to False
, the images are stacked horizontally, side by side. This parameter is a boolean value with a default setting of False
. The choice of stacking direction impacts the final layout of the composite image, making it crucial to select the appropriate option based on the desired visual outcome.
The output parameter IMAGE
represents the final composite image created by stacking the input images. This output is a single image tensor that combines all the provided images in the specified direction (either vertically or horizontally). The resulting image maintains the visual integrity of the individual input images while presenting them in a unified format, making it ready for further processing or display.
vertical
parameter to control the layout of the stacked images, depending on whether you want a vertical column or a horizontal row of images.© Copyright 2024 RunComfy. All Rights Reserved.