Popular recipes by hasanatkazmi http://code.activestate.com/recipes/users/4168973/2009-06-20T18:05:08-07:00ActiveState Code RecipesPutting watermark to images in batch (Python)
2009-06-20T18:05:08-07:00hasanatkazmihttp://code.activestate.com/recipes/users/4168973/http://code.activestate.com/recipes/576818-putting-watermark-to-images-in-batch/
<p style="color: grey">
Python
recipe 576818
by <a href="/recipes/users/4168973/">hasanatkazmi</a>
(<a href="/recipes/tags/batch/">batch</a>, <a href="/recipes/tags/image_processing/">image_processing</a>, <a href="/recipes/tags/pil/">pil</a>, <a href="/recipes/tags/watermark/">watermark</a>).
</p>
<p>Being a novice photographer, I usually have many pictures - sometimes in hundreds. While posting on Flickr or other online sources, it is very important to put watermark on all of them, like signature or email.
This is a small self explanatory snippet which will place watermark image on right bottom corner. You just provide source folder and it will scan all photos in that folder (not sub folders) and will produce watermarked photos in the destination folder.
It worked for me with jpg, it should work for all those formats which PIL can work with.</p>