Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently combine and sum image dimensions for creating composite images with integrity and visual quality.
The ImageContainerInheritanceSum
node is designed to facilitate the combination of multiple images by summing their dimensions. This node is particularly useful when you need to create a composite image that encompasses the total width and height of the input images. By leveraging this node, you can efficiently manage and manipulate image data, ensuring that the resulting composite image maintains the integrity and visual quality of the original images. This node is ideal for tasks that require the aggregation of image dimensions, such as creating panoramic views or combining multiple image layers into a single cohesive output.
This parameter represents the first set of images to be combined. Each image in this set will contribute to the final composite image. The dimensions of these images will be summed with those of images_b
based on the specified container_size_type
.
This parameter represents the second set of images to be combined. Similar to images_a
, each image in this set will be used to determine the final dimensions of the composite image. The combination method depends on the container_size_type
.
This parameter specifies the red color component for the background of the composite image. It accepts values ranging from 0 to 255, with a default value of 0.
This parameter specifies the green color component for the background of the composite image. It accepts values ranging from 0 to 255, with a default value of 0.
This parameter specifies the blue color component for the background of the composite image. It accepts values ranging from 0 to 255, with a default value of 0.
This parameter controls the transparency level of the background color. It accepts values ranging from 0.0 (completely transparent) to 1.0 (completely opaque), with a default value of 1.0.
This parameter determines how the dimensions of the input images are combined. It can take the following values:
sum
: Sums both the width and height of the input images.sum_width
: Sums only the width of the input images, ensuring the heights are equal.sum_height
: Sums only the height of the input images, ensuring the widths are equal.This parameter specifies the method used to combine the images. It can take the following values:
single
: Creates a single composite image.for_each_pair
: Creates a composite image for each pair of images from images_a
and images_b
.This output parameter provides the resulting composite image(s) based on the specified input parameters and combination method. The output is a tensor containing the combined image data, which can be used for further processing or visualization.
sum_width
option for container_size_type
and ensure that the heights of the input images are equal.sum_height
option for container_size_type
and ensure that the widths of the input images are equal.red
, green
, blue
, and alpha
parameters to set a custom background color for the composite image, which can help in distinguishing the combined images.container_size_type
is set to sum_width
, but the heights of the input images in images_a
and images_b
are not equal.images_a
and images_b
have the same height when using the sum_width
option.container_size_type
is set to sum_height
, but the widths of the input images in images_a
and images_b
are not equal.images_a
and images_b
have the same width when using the sum_height
option.container_size_type
parameter.container_size_type
: sum
, sum_width
, or sum_height
.© Copyright 2024 RunComfy. All Rights Reserved.