Skip to main content

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)

watermarked image

Metadata

Release files for marklord 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for marklord 0.1.5
File Size Uploaded
marklord-0.1.5.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for marklord 0.1.5
File Interpreter ABI Platform
marklord-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 22.7 kB

Release files / marklord-0.1.5.tar.gz

Download URL marklord-0.1.5.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
267588fcaaac3162c5f22a7b340a6c1eb7cac54c0de8cc43cdf94c4c65e6b540
BLAKE2b-256 checksum
How to use checksums
f4783d572757e2ae9f9099f27d5ed3660ef11bc9ec8487d9d05dd95669e072a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / marklord-0.1.5-py3-none-any.whl

Download URL marklord-0.1.5-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1e28127bb59dbb1c776b684fd0ef463e7dc58737a65015cc54502f45af90a1c
BLAKE2b-256 checksum
How to use checksums
63db764a559834e60c9c4804c7cca41545fb50d70293e1f1d296ca8758a71c0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page