Skip to main content

A library to watermark your images easily.

Project description

PyWatermark

A python library to watermark your images!

Installation

pip install PyWatermark

Features

This library exploits the usefulness of pillow to watermark images. It's an easy tool if you want to automate the watermarking of many images at once.

Usage

from PyWatermark import waterMarkImages, getAvailableFonts

imageFile = "image.jpg"
imageOutputPath = "/Desktop" # write your output folder path here 
text = "Hello World" # Whatever text you want to watermark

# You can adjust the font here from the given fonts or just
# put in your own font path - a .ttf file
# Other parameters you can adjust are position, size, opacity
outFile = waterMarkImages(imageFile, imageOutputPath, text)

print(getAvailableFonts()) # prints out available fonts

Contributing

Feel free to make suggestions, raise pull requests, and report issues. After all we're human and there can be problems with this library. Optimizing this is very appreciated.

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

PyWatermark-0.1.4.tar.gz (333.8 kB view details)

Uploaded Source

File details

Details for the file PyWatermark-0.1.4.tar.gz.

File metadata

  • Download URL: PyWatermark-0.1.4.tar.gz
  • Upload date:
  • Size: 333.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2

File hashes

Hashes for PyWatermark-0.1.4.tar.gz
Algorithm Hash digest
SHA256 993ac53a7b865a803f0237ecf8e455fd53777b4e77a381b2611d5c0c0648a3be
MD5 ed717e38f8a49851a8da7e99f5c5b529
BLAKE2b-256 df4c4153402be155fefa5a437f04daf9f83d2c1d6ed3b4e4b70e925cc1379486

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