Skip to main content

Watermark batch of images

Project description

Welcome to Watermark Image!

The package will let you watermark batch of images. This package is written in python 3.5.4

You have 3 methods you can use:


You can install the watermark-image from PyPI:

$ pip install watermarkImage

Example usage:

>>> from watermarkImage import Logic
>>> list = Logic.watermarkDir(dirToSearch, logo, Position.TOP_LEFT)
>>> Logic.saveImages(list, pathForNewImages)

You have 3 methods you can use:

  1. watermarkDir:


     - dirToSearch: path to folder with all the images you want to watermark.
     - logo: PIL image object.
     - Position: one of 4 corners - please use Position enum from the package!
     - Opacity: opacity of logo (1-10), the default is 5.
     - Logo size: there are 4 sizes to choose, the default is 2. 

    The output is list of PIL images.

  2. watermarkList:

    Same like watermarkDir but instead of "dirToSearch" there is "listOfImages" - list of PIL images. The output is the same.

  3. saveImages:


     - listOfImages: list of PIL images.
     - pathToSave: path to save the watermark images (the folder will be created if not exists).

Note that the package supports only jpg\png



Free Software, Hell Yeah!

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

watermarkImage-1.0.2.tar.gz (3.5 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