Visit ComfyUI Online for ready-to-use ComfyUI environment
Blend two images with precise control over positioning and transparency for creating complex image composites.
The ImageCompositeBy_BG_Zho
node is designed to facilitate the seamless combination of two images with a specified background and method. This node allows you to overlay images with precise control over their positioning and transparency, making it an essential tool for creating complex image composites. By leveraging this node, you can achieve sophisticated visual effects and compositions, whether for artistic projects, graphic design, or other creative endeavors. The node's primary function is to blend two images based on user-defined parameters, ensuring that the final output meets your specific aesthetic and functional requirements.
This parameter represents the first image to be used in the composite. It is an essential input as it forms one of the primary layers in the final image. The image should be provided in a compatible format.
This parameter represents the second image to be used in the composite. Similar to images_a
, it is a crucial input that forms the other primary layer in the final image. The image should be provided in a compatible format.
This parameter controls the transparency of images_a
. It accepts a float value ranging from 0.0 to 1.0, with a default value of 1.0. A lower value makes images_a
more transparent, while a higher value makes it more opaque.
This parameter controls the transparency of images_b
. It accepts a float value ranging from 0.0 to 1.0, with a default value of 1.0. A lower value makes images_b
more transparent, while a higher value makes it more opaque.
This parameter specifies the horizontal position of images_a
within the composite. It accepts a float value ranging from 0.0 to 1.0, with a default value of 0.0. This value is a percentage of the container width.
This parameter specifies the vertical position of images_a
within the composite. It accepts a float value ranging from 0.0 to 1.0, with a default value of 0.0. This value is a percentage of the container height.
This parameter specifies the horizontal position of images_b
within the composite. It accepts a float value ranging from 0.0 to 1.0, with a default value of 0.0. This value is a percentage of the container width.
This parameter specifies the vertical position of images_b
within the composite. It accepts a float value ranging from 0.0 to 1.0, with a default value of 0.0. This value is a percentage of the container height.
This parameter determines which image will serve as the background in the composite. It accepts either "images_a" or "images_b" as options. The chosen image will be the base layer over which the other image is overlaid.
This parameter specifies the method of compositing the images. It accepts either "pair" or "matrix" as options. The "pair" method overlays the images directly, while the "matrix" method arranges them in a grid-like structure.
The output of this node is a single composite image that combines images_a
and images_b
based on the specified parameters. The resulting image reflects the positioning, transparency, and background choices made in the input parameters, providing a final visual output ready for further use or display.
alpha_a
and alpha_b
parameters to find the right transparency levels for your images.images_a_x
, images_a_y
, images_b_x
, and images_b_y
parameters to fine-tune the positioning of your images within the composite, ensuring they align perfectly with your creative vision.background
parameter wisely based on which image you want to dominate the composite. This can significantly affect the visual hierarchy of the final output.method
parameter.method
parameter is set to either "pair" or "matrix". Double-check the input to avoid typos or unsupported values.© Copyright 2024 RunComfy. All Rights Reserved.