ComfyUI > Nodes > MW-ComfyUI_PortraitTools > Image Watermark

ComfyUI Node: Image Watermark

Class Name

ImageWatermark

Category
🎤MW/MW-PortraitTools
Author
mw (Account age: 2475days)
Extension
MW-ComfyUI_PortraitTools
Latest Updated
2025-06-15
Github Stars
0.02K

How to Install MW-ComfyUI_PortraitTools

Install this extension via the ComfyUI Manager by searching for MW-ComfyUI_PortraitTools
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter MW-ComfyUI_PortraitTools 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Image Watermark Description

Integrate customizable text watermarks onto images for protection and branding.

Image Watermark:

The ImageWatermark node is designed to seamlessly integrate watermarks into images, providing a robust solution for protecting and branding your digital artwork. This node allows you to overlay text-based watermarks onto images, ensuring that your creative works are safeguarded against unauthorized use. By offering customizable options such as text content, font style, color, opacity, and positioning, the node empowers you to create watermarks that are both aesthetically pleasing and effective in conveying ownership. The ImageWatermark node is particularly beneficial for artists and designers who wish to maintain the integrity of their work while sharing it online, as it provides a straightforward method to apply consistent and professional watermarks across multiple images.

Image Watermark Input Parameters:

images

This parameter accepts the images to which the watermark will be applied. It is crucial as it determines the base on which the watermark will be overlaid. The images should be in a compatible format for processing.

text

This parameter specifies the text content of the watermark. It is the actual string that will appear on the image, serving as the primary identifier or message of the watermark.

font_file

This parameter defines the font style used for the watermark text. It allows you to choose a specific font file to ensure the text appears in the desired style, enhancing the visual appeal of the watermark.

angle

This parameter sets the rotation angle of the watermark text. By default, it is set to 30 degrees, allowing for diagonal placement, which can be adjusted to suit your design preferences.

red, green, blue

These parameters control the color of the watermark text by specifying the RGB color values. Each value ranges from 0 to 255, allowing you to customize the text color to match or contrast with the image.

opacity

This parameter determines the transparency level of the watermark, with a default value of 0.15. It ranges from 0 (completely transparent) to 1 (completely opaque), allowing you to adjust the visibility of the watermark.

size

This parameter specifies the font size of the watermark text, with a default value of 50. It allows you to control the prominence of the watermark on the image.

space

This parameter sets the spacing between repeated instances of the watermark text, with a default value of 75. It helps in creating a pattern or grid of watermarks across the image.

movement_type

This parameter allows you to choose the type of movement for the watermark, with options like "None", "up_down", "left_right", and "angel_change". It adds dynamic effects to the watermark placement.

movement_amount

This parameter defines the extent of movement for the watermark when a movement type is selected. It ranges from 0.2 to 5, with a default of 1, allowing for subtle or pronounced movement effects.

chars_per_line

This parameter sets the number of characters per line in the watermark text, with a default value of 8. It helps in formatting the text to fit within the desired space on the image.

font_height_crop

This parameter adjusts the height of the font, with a default value of 1.2. It allows for fine-tuning the vertical space occupied by the text, ensuring it fits well within the image.

Image Watermark Output Parameters:

images

The output is a tensor representing the watermarked images. This tensor contains the processed images with the applied watermark, ready for further use or distribution. The output ensures that your images are protected with a consistent and professional watermark.

Image Watermark Usage Tips:

  • To achieve a subtle watermark effect, adjust the opacity parameter to a lower value, ensuring the watermark is visible but not overpowering the image.
  • Experiment with different font_file and angle settings to create unique and visually appealing watermark designs that complement your artwork.

Image Watermark Common Errors and Solutions:

Invalid image file: <image>

  • Explanation: This error occurs when the provided image file is not valid or cannot be processed.
  • Solution: Ensure that the image file is in a supported format and is accessible. Check the file path and permissions.

Font file not found

  • Explanation: This error indicates that the specified font file could not be located.
  • Solution: Verify the path to the font file and ensure it exists. If necessary, use a default font provided by the system.

Watermark text too long

  • Explanation: This error arises when the watermark text exceeds the maximum allowed length.
  • Solution: Shorten the text or adjust the chars_per_line parameter to accommodate longer text within the image space.

Image Watermark Related Nodes

Go back to the extension to check out more related nodes.
MW-ComfyUI_PortraitTools
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.