Skip to main content

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)

watermarked image

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

marklord-0.1.5.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marklord-0.1.5-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file marklord-0.1.5.tar.gz.

File metadata

  • Download URL: marklord-0.1.5.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for marklord-0.1.5.tar.gz
Algorithm Hash digest
SHA256 267588fcaaac3162c5f22a7b340a6c1eb7cac54c0de8cc43cdf94c4c65e6b540
MD5 6e8c61dfc09e287dee064642e87be6fd
BLAKE2b-256 f4783d572757e2ae9f9099f27d5ed3660ef11bc9ec8487d9d05dd95669e072a4

See more details on using hashes here.

File details

Details for the file marklord-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: marklord-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for marklord-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e1e28127bb59dbb1c776b684fd0ef463e7dc58737a65015cc54502f45af90a1c
MD5 f278220bc33c9f4c1c333285f31e9cc0
BLAKE2b-256 63db764a559834e60c9c4804c7cca41545fb50d70293e1f1d296ca8758a71c0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page