Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates precise placement of two images at specified coordinates within a container for complex compositions.
The ImageCompositeAbsolute
node is designed to facilitate the combination of two images by placing them at specified absolute coordinates within a container. This node is particularly useful for creating complex image compositions where precise placement of each image is crucial. By allowing you to define the exact x and y coordinates for each image, it provides a high level of control over the final composite image. This node is beneficial for tasks that require meticulous alignment and layering of images, such as creating collages, overlays, or any artistic compositions where the spatial arrangement of elements is key.
images_a
represents the first set of images to be placed within the container. This parameter is crucial as it defines one of the primary visual elements in the composite. The images should be provided in a tensor format.
images_b
represents the second set of images to be placed within the container. Similar to images_a
, this parameter defines another primary visual element in the composite and should also be provided in a tensor format.
images_a_x
specifies the x-coordinate for the placement of images_a
within the container. This parameter determines the horizontal position of the first set of images and should be an integer value.
images_a_y
specifies the y-coordinate for the placement of images_a
within the container. This parameter determines the vertical position of the first set of images and should be an integer value.
images_b_x
specifies the x-coordinate for the placement of images_b
within the container. This parameter determines the horizontal position of the second set of images and should be an integer value.
images_b_y
specifies the y-coordinate for the placement of images_b
within the container. This parameter determines the vertical position of the second set of images and should be an integer value.
container_width
defines the width of the container in which the images will be placed. This parameter is essential for setting the horizontal boundaries of the composite image and should be an integer value.
container_height
defines the height of the container in which the images will be placed. This parameter is essential for setting the vertical boundaries of the composite image and should be an integer value.
background
determines which set of images (images_a
or images_b
) will serve as the background layer in the composite. This parameter can take values such as "images_a" or "images_b".
method
specifies the compositing method to be used when combining the images. This parameter allows you to choose the blending or overlay technique that best suits your artistic needs.
composite_image
is the resulting image after the specified images have been combined according to the provided coordinates and compositing method. This output is a tensor representing the final composite image, ready for further processing or display.
images_a_x
, images_a_y
, images_b_x
, and images_b_y
are within the bounds of the container dimensions to avoid clipping or unexpected results.images_a
and images_b
to maintain the quality of the final composite image, especially if the container size is large.container_width
and container_height
are set to values that are at least as large as the largest dimensions of images_a
and images_b
.images_a_x
, images_a_y
, images_b_x
, and images_b_y
are within the valid range based on the container's width and height. Adjust the coordinates accordingly to fit within the container.© Copyright 2024 RunComfy. All Rights Reserved.