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.4.tar.gz
(2.5 kB
view details)
File details
Details for the file multiwatermark-0.1.4.tar.gz.
File metadata
- Download URL: multiwatermark-0.1.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bedd4e36e7a86913ef1e86e4b5134571f4a1ca161b2b30be6eb49fd3f476a683
|
|
| MD5 |
df54d539f7a8f0aefcc84e25279340d3
|
|
| BLAKE2b-256 |
60f0fb35cbb9f2bbb6f72bd15f329970493d97c3d843557a83938ae40b9d2524
|