Watermarking tool for images or PDF
Project description
MarkLord
MarkLord is a tool to add a visible watermark to images or PDF files on documents (e.g. ID card, salary slips, etc. ) you need to send to third parties. If the said third party is victim of a data breach, it will be more difficult for attackers to use those documents to steal your identity. Also if you put the name of the third party into the watermark, you can identify the source of the leak, or the third party that shared or sold your files without your consent.
Installation
From PyPI
pip install marklord
From GitHub
git clone https://github.com/secdev/marklord.git
cd marklord
pip install .
Usage
usage: marklord [-h] [--output OUTPUT] [--font-name FONT_NAME] [--angle ANGLE] [--watermark_lines WATERMARK_LINES] [--interlining INTERLINING] [--separator SEPARATOR] [--no-noise] [--color COLOR] [--alpha ALPHA] [--quiet] input text [text ...]
positional arguments:
input
text
options:
-h, --help show this help message and exit
--output, -o OUTPUT
--font-name, -f FONT_NAME
--angle, -a ANGLE
--watermark_lines, -l WATERMARK_LINES
--interlining, -I INTERLINING
--separator, -s SEPARATOR
--no-noise
--color, -c COLOR RGBA color as 4 comma separated decimal numbers from 0 to 255
--alpha, -A ALPHA transparency coefficient between 0 and 255
--quiet, -q
Examples
$ marklord idcard.jpg "only for ACME company 2025-12-04"
INFO:MarkLord:Opening [/home/specimen/idcard.jpg] (53.2 KB)
INFO:MarkLord:Watermarking [only for ACME company 2025-12-04]
INFO:MarkLord:Result saved to [/home/specimen/idcard-wm.jpg] (60.1 KB)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file marklord-0.1.3.tar.gz.
File metadata
- Download URL: marklord-0.1.3.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52660a7054898a3f5766b4938b9a79a8186016fe41fd8c59034af0e6180aeb38
|
|
| MD5 |
b3e0e6092f3beac8fd12b8abab03663c
|
|
| BLAKE2b-256 |
dab24b1496d6d74110fde82efb3bced975b677b7a2249bdbab6cb5a891905c7a
|
File details
Details for the file marklord-0.1.3-py3-none-any.whl.
File metadata
- Download URL: marklord-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a3d4d1d404a6d5a51a75e2b0f592cb8d35a6ec00e93708603e1dce99be83bdf
|
|
| MD5 |
e2737a0a3f640c257fb4e286e6ceac2b
|
|
| BLAKE2b-256 |
45042fbd1bbf63ac817268f5e92b8b9e0ec5140c401d9751ffea5c388aa14481
|