ComfyUI  >  Nodes  >  comfyui_bmab >  BMAB Watermark

ComfyUI Node: BMAB Watermark

Class Name

BMAB Watermark

Category
BMAB/basic
Author
portu-sim (Account age: 343 days)
Extension
comfyui_bmab
Latest Updated
6/9/2024
Github Stars
0.1K

How to Install comfyui_bmab

Install this extension via the ComfyUI Manager by searching for  comfyui_bmab
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_bmab 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

BMAB Watermark Description

Seamlessly integrate customizable watermarks into digital artwork for protection and branding.

BMAB Watermark:

The BMAB Watermark node is designed to seamlessly integrate watermarks into your images, providing a professional touch to your digital artwork. This node allows you to add text or image-based watermarks with customizable options such as font, color, transparency, rotation, and alignment. By using this node, you can protect your work from unauthorized use and ensure your brand or signature is consistently visible across your creations. The BMAB Watermark node is particularly beneficial for AI artists who want to maintain the integrity and ownership of their digital art in a visually appealing manner.

BMAB Watermark Input Parameters:

img

The image to which the watermark will be applied. This is the base image that will receive the watermark overlay.

font

Specifies the font to be used for the text watermark. This parameter allows you to choose a font that matches the style and tone of your artwork.

alignment

Determines the position of the watermark on the image. Options include top-left, top-right, bottom-left, bottom-right, and center, allowing you to place the watermark exactly where you want it.

text_alignment

Defines the alignment of the text within the watermark. This can be left, center, or right, ensuring that the text is positioned correctly within the watermark area.

rotate

Specifies the rotation angle for the watermark in degrees. This allows you to tilt the watermark to match the orientation or design of your image.

color

The color of the text watermark, specified in hexadecimal format. This parameter lets you choose a color that stands out or blends in with your image as needed.

background_color

The background color of the watermark, specified in hexadecimal format. This is useful for creating a solid background behind the text to enhance visibility.

font_size

Determines the size of the font for the text watermark. Adjusting this parameter helps you ensure that the watermark is appropriately sized for your image.

transparency

Specifies the transparency level of the text watermark, with values ranging from 0 (completely transparent) to 100 (completely opaque). This allows you to control the visibility of the watermark.

background_transparency

Specifies the transparency level of the background color, with values ranging from 0 (completely transparent) to 100 (completely opaque). This helps you blend the watermark background with the image.

margin

Defines the margin around the text watermark. This parameter ensures that there is adequate spacing between the text and the edges of the watermark area.

text

The text to be used as the watermark. This can be a string of characters that you want to overlay on your image.

BMAB Watermark Output Parameters:

bind

The bind object that contains the original image and the applied watermark. This output ensures that the watermark is correctly integrated with the image.

pixels

The pixel data of the image with the applied watermark. This output provides the final image data that can be saved or further processed.

BMAB Watermark Usage Tips:

  • Experiment with different font sizes and colors to find the best combination that complements your image without overpowering it.
  • Use the transparency settings to create subtle watermarks that do not distract from the main content of your image.
  • Rotate the watermark to match the orientation of your image or to create a unique design effect.

BMAB Watermark Common Errors and Solutions:

FileNotFoundError: [Errno 2] No such file or directory: 'text'

  • Explanation: This error occurs when the specified text file for the watermark does not exist.
  • Solution: Ensure that the file path for the text file is correct and that the file exists.

ValueError: unknown file extension: 'font'

  • Explanation: This error occurs when the specified font file has an unsupported or incorrect file extension.
  • Solution: Verify that the font file has a valid extension (e.g., .ttf, .otf) and is accessible.

TypeError: unsupported operand type(s) for /: 'str' and 'int'

  • Explanation: This error occurs when a string value is used where an integer is expected, such as in transparency calculations.
  • Solution: Ensure that all numerical input parameters are provided as integers or floats, not strings.

BMAB Watermark Related Nodes

Go back to the extension to check out more related nodes.
comfyui_bmab
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.