Visit ComfyUI Online for ready-to-use ComfyUI environment
Blend images seamlessly with adjustable intensity using dither pattern mask for creative merging in post-processing workflows.
The Dissolve node is a powerful tool designed for blending two images together in a seamless manner. This node leverages a technique that uses a dither pattern to create a mask, which determines the contribution of each image to the final output. By adjusting the dissolve factor, you can control the intensity of the blend, allowing for smooth transitions between the two images. This node is particularly useful in post-processing workflows where you need to merge images creatively, such as in artistic compositions, photo editing, or generating unique visual effects. The main goal of the Dissolve node is to provide a flexible and intuitive way to combine images, enhancing your creative possibilities without requiring deep technical knowledge.
This parameter represents the first image to be blended. It is an essential input as it forms one half of the final dissolved image. The image should be provided in a tensor format compatible with PyTorch.
This parameter represents the second image to be blended. Like image1, it is a crucial input that contributes to the final dissolved image. The image should also be in a tensor format compatible with PyTorch.
The dissolve_factor is a floating-point value that controls the blend ratio between the two images. A value of 0.0 means the output will be entirely image2, while a value of 1.0 means the output will be entirely image1. Intermediate values blend the images proportionally. The default value is 0.5, which means both images contribute equally to the final output. The dissolve_factor can be adjusted between 0.0 and 1.0 in steps of 0.01, allowing for fine-tuned control over the blending process.
The output is a single image tensor that represents the blended result of image1 and image2 based on the specified dissolve_factor. This output image is clamped to ensure that pixel values remain within a valid range, providing a visually appealing and correctly blended result.
RuntimeError: Expected all tensors to be on the same device
ValueError: Input images must have the same dimensions
TypeError: dissolve_factor must be a float
© Copyright 2024 RunComfy. All Rights Reserved.