Skip to main content

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:

Installation

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:

    input:

     - 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:

    input

     - 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

License

MIT

Free Software, Hell Yeah!

Release files for watermarkImage 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for watermarkImage 1.0.2
File Size Uploaded
watermarkImage-1.0.2.tar.gz 3.5 kB Details

Release files / watermarkImage-1.0.2.tar.gz

Download URL watermarkImage-1.0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
faa98a40ba2f3c737f442344fc0bee263ab80ed1752b8771aa02ba4d457ab0c3
BLAKE2b-256 checksum
How to use checksums
2a200a9581639b9d3f0ac84f598de328a8fcf85d1e71e380c7cfb7c8d96ef001
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.4

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page