Creating a watermark in Python
Question: I'm trying to figure out how to create this kind of watermark, **especially
the one that's in the center** (it's not an ad, it's just a perfect example of
what I want to accomplish):

[![enter image description
here](http://i.stack.imgur.com/GnnOs.jpg)](http://i.stack.imgur.com/GnnOs.jpg)
[![enter image description
here](http://i.stack.imgur.com/x0rKo.jpg)](http://i.stack.imgur.com/x0rKo.jpg)


Answer: Python's [wand](http://docs.wand-py.org/en/0.4.1/index.html) library has a
[Image.watermark](http://docs.wand-
py.org/en/0.4.1/wand/image.html#wand.image.BaseImage.watermark) method that
can simplify common watermark operations.

    
    
    from wand.image import Image
    
    with Image(filename='background.jpg') as background:
      with Image(filename='watermark.png') as watermark:
        background.watermark(image=watermark, transparency=0.75)
      background.save(filename='result.jpg')
    

