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

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.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: multiwatermark-0.1.2.tar.gz
  • Upload date:
  • Size: 2.4 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.2.tar.gz
Algorithm Hash digest
SHA256 fe17bdcb25e4583636775767097b364398214462243b0bbd412394b76e0d42e8
MD5 6c76ceebd22ec082cdb529098847f14b
BLAKE2b-256 e9cb8bf007b13758aac8c8a3d214b4c74671baf4fa6c6969467ea7a5dee2fbb5

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