Clear watermarks

Removing existing watermarks is supported for many formats. Check supported formats to confirm availability.

Deleting text watermarks

Search for and remove specific text watermarks from documents. You can target them by their text value and clear them in a single step.

import groupdocs.watermark as gw
import groupdocs.watermark.search.searchcriteria as gws_sc

with gw.Watermarker("C:\\Docs\\watermarked-sample.docx") as watermarker:
    criteria = gws_sc.TextSearchCriteria("Contract Draft", False)
    possible = watermarker.search(criteria)
    possible.clear()
    watermarker.save("C:\\Docs\\clean-sample.docx")

🔹 Use case: Remove outdated labels such as “Draft” or “Internal Use Only” before sharing the document externally.

Deleting image watermarks

Easily find and delete image watermarks (such as logos, stamps, or backgrounds) using perceptual image matching.

import groupdocs.watermark as gw
import groupdocs.watermark.search.searchcriteria as gws_sc

with gw.Watermarker("watermarked-sample.docx") as watermarker:
    image_criteria = gws_sc.ImageDctHashSearchCriteria("logo.png")
    image_criteria.max_difference = 0.9
    possible = watermarker.search(image_criteria)
    possible.clear()
    watermarker.save("clean-sample.docx")

🔹 Use case: Clean up old branding or remove unauthorized third-party logos from documents.

Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.