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 hashes)

Uploaded Source

Supported by

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