Visit ComfyUI Online for ready-to-use ComfyUI environment
Superimpose images with customization options for seamless integration and complex compositions.
The Image Overlay node allows you to superimpose one image over another, providing a powerful tool for creating composite images. This node is particularly useful for adding watermarks, logos, or any other graphical elements to a base image. By offering various customization options such as resizing, rotating, and adjusting the opacity of the overlay image, this node ensures that the overlay can be seamlessly integrated into the base image. Additionally, it supports the use of masks to define the transparency of the overlay, allowing for more complex and nuanced compositions. The main goal of this node is to provide a flexible and efficient way to combine images, enhancing your creative workflow.
The base image onto which the overlay image will be applied. This is the primary image that will serve as the background for the overlay. The quality and resolution of the base image will directly affect the final output.
The image that will be overlaid on the base image. This image can be resized, rotated, and have its opacity adjusted to fit the desired composition. The overlay image should ideally be in a format that supports transparency, such as PNG.
Determines how the overlay image should be resized before being applied to the base image. Options include "None" (no resizing), "Fit" (resize to fit within the base image dimensions), "Resize by rescale_factor" (resize based on a scaling factor), and "Resize to width & height" (resize to specific dimensions). This parameter ensures that the overlay image fits well with the base image.
Specifies the method used for resizing the overlay image. Common methods include "nearest", "bilinear", and "bicubic". The choice of method can affect the quality and smoothness of the resized image.
A scaling factor used to resize the overlay image when the "Resize by rescale_factor" option is selected. This factor is a multiplier applied to the original dimensions of the overlay image. For example, a factor of 0.5 will reduce the size by half, while a factor of 2 will double it.
The target width for the overlay image when the "Resize to width & height" option is selected. This allows for precise control over the dimensions of the overlay image.
The target height for the overlay image when the "Resize to width & height" option is selected. This allows for precise control over the dimensions of the overlay image.
The horizontal offset for positioning the overlay image on the base image. This value determines how far from the left edge of the base image the overlay will be placed.
The vertical offset for positioning the overlay image on the base image. This value determines how far from the top edge of the base image the overlay will be placed.
The angle in degrees to rotate the overlay image before applying it to the base image. This allows for creative positioning and alignment of the overlay.
The opacity level of the overlay image, specified as a percentage. A value of 100% means the overlay is fully opaque, while 0% means it is fully transparent. This parameter allows for blending the overlay with the base image.
An optional mask image that defines the transparency of the overlay image. The mask should be the same size as the overlay image, with white areas representing full opacity and black areas representing full transparency. This allows for more complex and nuanced compositions.
The resulting image after the overlay has been applied. This image combines the base image and the overlay image according to the specified parameters, producing the final composite image.
© Copyright 2024 RunComfy. All Rights Reserved.