ComfyUI  >  Nodes  >  Bmad Nodes >  MonoMerge

ComfyUI Node: MonoMerge

Class Name

MonoMerge

Category
Bmad/image
Author
bmad4ever (Account age: 3591 days)
Extension
Bmad Nodes
Latest Updated
8/2/2024
Github Stars
0.1K

How to Install Bmad Nodes

Install this extension via the ComfyUI Manager by searching for  Bmad Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Bmad Nodes in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

MonoMerge Description

Merge two images into monochromatic image based on target color, prioritizing lighter or darker components for creative compositions.

MonoMerge:

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.

MonoMerge Input Parameters:

image1

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.

image2

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.

target

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".

output_format

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.

MonoMerge Output Parameters:

IMAGE

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.

MonoMerge Usage Tips:

  • To create a high-contrast image, use the "white" target to emphasize the lighter areas of both input images.
  • For a more subdued and darker composition, select the "black" target to prioritize the darker areas of the input images.
  • Experiment with different output formats to find the one that best suits your project requirements and ensures compatibility with your workflow.

MonoMerge Common Errors and Solutions:

Invalid image format

  • Explanation: This error occurs when the input images are not provided in the expected "IMAGE" format.
  • Solution: Ensure that both image1 and image2 are correctly formatted as "IMAGE" types before passing them to the node.

Unsupported target value

  • Explanation: This error occurs when an invalid value is provided for the target parameter.
  • Solution: Make sure to select either "white" or "black" for the target parameter to avoid this error.

Output format not recognized

  • Explanation: This error occurs when the specified output_format is not among the supported options.
  • Solution: Verify that the output_format parameter is set to one of the valid options provided by the node.

MonoMerge Related Nodes

Go back to the extension to check out more related nodes.
Bmad Nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.