Skip to main content

Add custom watermarks to images

Project description

MultiWatermark

By Matt Burns

Installation

pip install multiwatermark

Usage

from multiwatermark import multiwatermark

image_path = "some/path/input.jpeg"
text = "Example Text"
output_path = "some/path/output.jpeg"

multiwatermark.add_watermark(image_path, text, output_path, font_size=36, opacity=128, watermark_count=5):

Options

image_path: Path to the input image. text: Watermark text to be added. output_path: Path to save the watermarked image. font_size: Size of the watermark text. opacity: Opacity of the watermark (0-255). watermark_count: number of watermarks to overlay

Source Code

https://github.com/mburns7211/multiwatermark

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

multiwatermark-0.1.3.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file multiwatermark-0.1.3.tar.gz.

File metadata

  • Download URL: multiwatermark-0.1.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for multiwatermark-0.1.3.tar.gz
Algorithm Hash digest
SHA256 17922f5b4f067b7b79a1eb8421cc26c90712a7b022d477f1d1b5fde4d3f005bf
MD5 d1e10e599983ceaefc738d24ae89a880
BLAKE2b-256 580e47ce4226aaca5781197e1480d14ff5db52f2cb7ce9213836439402e8e98a

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