A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
The LayerUtility: ImageBlend node is a functional component of the ComfyUI toolkit designed to facilitate advanced image compositing and blending operations. It allows users to combine a primary background image with an overlay or "layer" image using customizable blending modes, transparency settings, and optional masking. This node is particularly useful for creating complex visual compositions and enhancing digital artwork by layering multiple images with precision.
The LayerUtility: ImageBlend node requires several input parameters to function effectively:
Background Image: The base image upon which the layer image will be blended. This image serves as the canvas to which additional visual elements are added.
Layer Image: The image that will be overlaid onto the background. This image can contain elements such as textures, patterns, or specific visual features that you want to integrate into the background.
Invert Mask: A boolean value (True or False) that determines whether the mask applied to the layer image should be inverted. By default, this is set to True, meaning the mask will be inverted.
Blend Mode: A mode that dictates how the layer image is blended with the background. The node supports various blending modes that alter the visual interaction between the two images, similar to blending modes found in graphic design software.
Opacity: An integer value representing the transparency of the layer image when blended with the background. The opacity can range from 0 (completely transparent) to 100 (completely opaque), allowing for fine-tuned adjustments. By default, this is set to 100.
The output of the LayerUtility: ImageBlend node is:
The LayerUtility: ImageBlend node is used in ComfyUI workflows to perform complex image compositing tasks. It can be employed in scenarios such as: