Visit ComfyUI Online for ready-to-use ComfyUI environment
Combine two images side by side or split and merge halves for visual comparisons and artistic compositions with custom labels and styling.
The images_side_by_side
node is designed to help you combine two images into a single image, either by placing them side by side or by splitting them and merging their halves. This node is particularly useful for creating visual comparisons, artistic compositions, or any scenario where you need to juxtapose two images. It offers flexibility in terms of labeling and styling, allowing you to add custom labels and separators to enhance the visual appeal of the combined image. The node ensures that the images are aligned properly and provides options to customize the appearance of the separator line and labels, making it a versatile tool for image manipulation and presentation.
This parameter represents the first image to be combined. It is essential for the node's operation as it forms one half of the final output image. The image should be in a compatible format (e.g., JPEG, PNG) and can be of any size, although the final output will depend on the dimensions of both input images.
This parameter represents the second image to be combined. Like image1
, it is crucial for the node's operation and forms the other half of the final output image. The image should be in a compatible format and can be of any size, with the final output depending on the dimensions of both input images.
This parameter determines how the images will be combined. It can take values such as "Side by Side" or "Split". In "Side by Side" mode, the images are placed next to each other. In "Split" mode, the images are split in half and then combined. This parameter allows you to choose the desired composition style for your images.
This boolean parameter indicates whether the combined image should be returned as a preview. If set to True
, the node will generate a preview of the combined image. If set to False
, the node will return the final combined image. This parameter helps in quickly visualizing the result without generating the final output.
This parameter specifies which image to display in the output. It can take values such as "Image 1", "Image 2", or "Combined Image". This allows you to choose whether to display one of the original images or the combined image in the output, providing flexibility in how the results are presented.
This parameter specifies the font file to be used for labeling the images. It allows you to customize the appearance of the labels by choosing a specific font. The font file should be in a compatible format (e.g., TTF, OTF).
This parameter determines the size of the font used for labeling the images. It allows you to control the readability and appearance of the labels. The font size should be specified in points (pt).
This parameter specifies the color of the font used for labeling the images. It allows you to customize the appearance of the labels by choosing a specific color. The color should be specified in a format compatible with the drawing library (e.g., RGB tuple).
This boolean parameter indicates whether labels should be added to the images. If set to True
, the node will add labels to the images. If set to False
, no labels will be added. This parameter provides control over the presence of labels in the final output.
This parameter specifies the label text for the first image. It allows you to add a custom label to the first image, enhancing the clarity and context of the combined image.
This parameter specifies the label text for the second image. It allows you to add a custom label to the second image, enhancing the clarity and context of the combined image.
This optional parameter allows you to provide a prompt or description for the combined image. It can be used to add metadata or context to the final output.
This optional parameter allows you to add extra PNG information to the combined image. It can be used to embed additional metadata or details in the final output.
This parameter represents the final combined image. It is the result of merging image1
and image2
according to the specified mode
. The combined image will include any labels and separators as specified by the input parameters. This output is essential for visualizing the result of the node's operation.
This parameter provides a dictionary containing information about the images to be displayed in the user interface. It includes filenames and types of the images, allowing for easy integration with UI components. This output is useful for presenting the results in a user-friendly manner.
preview
parameter to quickly visualize the combined image before generating the final output.image1
and image2
do not match in "Split" mode.image_label
is set to True
but no label text is provided for image1_label
or image2_label
.image1_label
and image2_label
if image_label
is set to True
.© Copyright 2024 RunComfy. All Rights Reserved.