Home
Softono

Pdf Strip Watermark

Open source Apache-2.0 Java
14
Stars
5
Forks
2
Issues
1
Watchers
5 years
Last Commit

 About Pdf Strip Watermark

Strip text-based watermarks from PDF files.

Platforms

Web Self-hosted

Languages

Java

Links

Need Help Installing Pdf Strip Watermark?

We provide expert installation service for this software. Our team will install, configure, and secure Pdf Strip Watermark on your server. plans start at just $30.

Pdf Strip Watermark

View on GitHub

pdf-strip-watermark

A simple tool to remove watermarks and other stuff from PDF files.

Usage

Arguments required: <input.pdf> <output.pdf> <watermark text> [auto-title]

If auto-title is given, the title of the final PDF will be changed to match the name of the input PDF.

This tool is simple and can only remove textual watermarks enclosed between q and Q operators of a PDF file.

Examples

Remove a watermark using a simple text search:

java -jar pdf-strip-watermark-0.1-all.jar in.pdf out.pdf Confidential

Remove a watermark and change title automatically:

java -jar pdf-strip-watermark-0.1-all.jar in.pdf out.pdf Confidential anytext

Remove a watermark if text matches a regular expression:

java -jar pdf-strip-watermark-0.1-all.jar in.pdf out.pdf 'match:.*Confidential.*'

Remove a watermark using a case-insensitive keyword:

java -jar pdf-strip-watermark-0.1-all.jar in.pdf out.pdf 'match:(?i).*confidential.*'

Download

pdf-strip-watermark-0.3-all.jar

Building

Using Maven:

mvn assembly:single

The final jar will be inside of the target/ directory.