Files
librewatmark/README.md
2026-01-16 20:45:02 +01:00

1.2 KiB

librewatmark

Tool to put a watermark on sensitive documents. Useful to avoid identity theft.

Some services for this already exist on the Web, but then you have to trust them. Here the program runs on your machine, offline.

Example result:

test-watermark

Compilation

Install Java and Maven on your system. Then, in the root directory, generate a JAR file:

mvn clean package

You can then execute it using:

java -jar target/librewatermark-1.0-SNAPSHOT.jar

To create an executable for your platform, do:

jpackage --name librewatmark --input target --main-jar librewatermark-1.0-SNAPSHOT.jar --main-class org.whatever.Main --type TYPE

Where TYPE can be deb for Debian-based GNU/Linux distributions, app-image for the AppImage format, rpm for Fedora and friends, dmg for MacOS, and exe for Windows.

Usage

The program takes an input image, a watermark string using the -s option, and optionally an output filename with the -o option. When no output filename is specified, the default is the input filename + "-watermark".

$ librewatmark
librewatmark - libre watermark tool
Usage: <input file> -s <string> [-o <output file>]