by sawyer-shi · v0.0.1
Local File Watermarking Tool: Supports adding secure watermarks to images, videos, PDF, DOCX, PPTX, XLSX files (including text watermarks and logo watermarks).
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
A powerful Dify plugin providing comprehensive local file watermarking capabilities. All watermarking operations are performed entirely on your local machine without requiring any external services, API keys, or internet connection, ensuring maximum data security and privacy. Supports adding text and icon watermarks to PDF, Word, PPT, Excel, Image, and Video files with customizable parameters including position, opacity, color, font size, scale, and alignment.
Install the required dependencies:
pip install -r requirements.txt
Install the plugin in your Dify environment following the standard plugin installation process
The plugin provides the following tools for file watermarking:
Add customizable text watermarks to images with position, opacity, color, and font size controls.
image_file: The original image file to add watermark (required)text: The text content of the watermark (required)position: The position of the watermark (optional, default: tile)
center: Center of the imagecorners: All four cornersbr: Bottom rightbl: Bottom lefttr: Top righttl: Top lefttile: Tile across the entire image (default)opacity: The opacity of the watermark (optional, default: 40, range: 0-255)color: The color of the watermark (optional, default: #808080)
Gray: #808080Red: #FF0000Green: #00FF00Blue: #0000FFYellow: #FFFF00font_size: The font size of the watermark (optional, default: 30, range: 1+)Add icon or logo watermarks to images with position, opacity, and scale controls.
image_file: The base image file to add watermark (required)icon_file: The logo image file for watermark (optional, recommended: png or jpg)icon_url: The URL of logo image for watermark (optional)scale: The scale of the logo as percentage of base image width (optional, default: 10, range: 1-100)position: The position of the watermark (optional, default: bottom_right)
center: Center of the imagetop_left: Top left cornerbottom_right: Bottom right corner (default)opacity: The opacity of the watermark (optional, default: 100, range: 0-255)Add customizable text watermarks to videos with position, opacity, color, and font size controls.
video_file: The video file to add watermark (required)text: The text content of the watermark (required)position: The position of the watermark (optional, default: bottom_right)
center: Center of the videotop_left: Top left cornertop_right: Top right cornerbottom_left: Bottom left cornerbottom_right: Bottom right corner (default)opacity: The opacity of the watermark (optional, default: 0.5, range: 0-1)color: The color of the watermark in hex format (optional, default: #FFFFFF)font_size: The font size of the watermark (optional, default: 40, range: 1+)Add icon or logo watermarks to videos with position, opacity, and scale controls.
video_file: The video file to add watermark (required)icon_file: The logo image file for watermark (optional, recommended: PNG format)icon_url: The URL of the logo image for watermark (optional)scale: The scale of the logo as percentage of video height (optional, default: 15, range: 1-100)position: The position of the watermark (optional, default: bottom_right)
center: Center of the videotop_left: Top left cornertop_right: Top right cornerbottom_left: Bottom left cornerbottom_right: Bottom right corner (default)opacity: The opacity of the watermark (optional, default: 0.8, range: 0-1)Add tiled text watermarks to PDF documents with opacity and font size controls.
doc_file: The PDF file to add watermark (required)text_content: The text content of the watermark, max 100 characters (required)opacity: The opacity of the watermark (optional, default: 0.1, range: 0-1)font_size: The font size of the watermark (optional, default: 20, 0 for auto-size)Add icon watermarks to PDF documents with opacity and position controls.
doc_file: The PDF file to add watermark (required)icon_file: The logo image file for watermark (optional, recommended: PNG format)icon_url: The URL of the logo image for watermark (optional)opacity: The opacity of the watermark (optional, default: 0.1, range: 0-1)position: The position of the watermark (optional, default: top-right)
center: Center of the pagetile: Tile across the pagetop-left: Top left cornertop-right: Top right corner (default)bottom-left: Bottom left cornerbottom-right: Bottom right cornerAdd text watermarks to Word documents with opacity, font size, position, and alignment controls.
doc_file: The Word file to add watermark (required)text_content: The text content of the watermark, max 100 characters (required)opacity: The opacity of the watermark (optional, default: 0.5, range: 0-1)font_size: The font size of the watermark (optional, default: 20, 0 for auto-size)position: The position of the watermark (optional, default: Header)
center: Center of the pageheader: Header (default)footer: Footeralignment: The alignment of the watermark (optional, default: right)
left: Left alignmentcenter: Center alignmentright: Right alignment (default)Add icon watermarks to Word documents with opacity, position, and alignment controls.
doc_file: The Word file to add watermark (required)icon_file: The logo image file for watermark (optional, recommended: PNG format)icon_url: The URL of the logo image for watermark (optional)opacity: The opacity of the watermark (optional, default: 0.5, range: 0-1)position: The position of the watermark (optional, default: center)
center: Center of the page (default)header: Headerfooter: Footeralignment: The alignment of the watermark (optional, default: right)
left: Left alignmentcenter: Center alignmentright: Right alignment (default)Add text watermarks to PowerPoint presentations with opacity, font size, and position controls.
doc_file: The PowerPoint file to add watermark (required)text_content: The text content of the watermark, max 100 characters (required)opacity: The opacity of the watermark (optional, default: 0.3, range: 0-1)font_size: The font size of the watermark (optional, default: 36, 0 for auto-size)position: The position of the watermark (optional, default: tile)
tile: Tile across the slide (default)center: Center of the slidetop-left: Top left cornertop-right: Top right cornerbottom-left: Bottom left cornerbottom-right: Bottom right cornerAdd icon watermarks to PowerPoint presentations with opacity, scale, and position controls.
doc_file: The PowerPoint file to add watermark (required)icon_file: The logo image file for watermark (optional, recommended: PNG format)icon_url: The URL of the logo image for watermark (optional)opacity: The opacity of the watermark (optional, default: 0.1, range: 0-1)scale: The scaling factor for the icon size (optional, default: 0.6, range: 0.1+)position: The position of the watermark (optional, default: top-right)
center: Center of the slidetop-left: Top left cornertop-right: Top right corner (default)bottom-left: Bottom left cornerbottom-right: Bottom right cornerAdd text watermarks to Excel workbooks with opacity, font size, and position controls.
doc_file: The Excel file to add watermark (required)text_content: The text content of the watermark, max 100 characters (required)opacity: The opacity of the watermark (optional, default: 0.1, range: 0-1)font_size: The font size of the watermark (optional, default: 40, 0 for auto-size)watermark_position: Position of the watermark relative to data (optional, default: on_data)
on_data: Watermark placed on top of data (default)below_data: Watermark placed below dataAdd icon watermarks to Excel workbooks with opacity and position controls.
doc_file: The Excel file to add watermark (required)icon_file: The logo image file for watermark (optional, recommended: PNG format)icon_url: The URL of the logo image for watermark (optional)opacity: The opacity of the watermark (optional, default: 0.1, range: 0-1)watermark_position: Position of the watermark relative to data (optional, default: on_data)
on_data: Watermark placed on top of data (default)below_data: Watermark placed below datahttps://github.com/sawyer-shihttps://github.com/sawyer-shi/dify-plugins-file_watermarkThis project is licensed under the Apache License 2.0. See the LICENSE file for the full license text.
Ready to protect your files with watermarks?