Visit ComfyUI Online for ready-to-use ComfyUI environment
Merge two images into monochromatic image based on target color, prioritizing lighter or darker components for creative compositions.
MonoMerge is a versatile node designed to merge two images into a single monochromatic image based on a specified target color. This node is particularly useful for AI artists who want to blend images in a way that emphasizes either the lighter or darker components of the images. By selecting the target color as either "white" or "black," you can control whether the merge operation prioritizes the lighter or darker pixels from the input images. This functionality allows for creative and nuanced image compositions, making it a valuable tool for generating unique visual effects.
This parameter represents the first input image that you want to merge. It should be provided in the format specified by the node, typically as an "IMAGE" type. The content of this image will be combined with the second image based on the selected target color.
This parameter represents the second input image that you want to merge. Similar to image1
, it should be provided as an "IMAGE" type. The content of this image will be combined with the first image based on the selected target color.
The target
parameter determines the color priority for the merge operation. It accepts two options: "white" and "black". If "white" is selected, the merge operation will prioritize the lighter pixels from both images, resulting in a brighter composite image. Conversely, if "black" is selected, the merge operation will prioritize the darker pixels, resulting in a darker composite image. The default value is "white".
The output_format
parameter specifies the format of the output image. It accepts various image output format options, with the default being the first option in the list. This parameter allows you to control the final format of the merged image, ensuring compatibility with your desired use case.
The output of the MonoMerge node is a single merged image, represented as an "IMAGE" type. This image is the result of combining the two input images based on the specified target color and output format. The merged image will reflect the chosen priority of lighter or darker pixels, providing a unique monochromatic composition.
Invalid image format
image1
and image2
are correctly formatted as "IMAGE" types before passing them to the node.Unsupported target value
target
parameter.target
parameter to avoid this error.Output format not recognized
output_format
is not among the supported options.output_format
parameter is set to one of the valid options provided by the node.© Copyright 2024 RunComfy. All Rights Reserved.