O'Reilly logo

Python Multimedia Beginner's Guide by Ninad Sathaye

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - Watermark Maker Tool

Think about all the methods we would need to accomplish this. The first thing that comes to mind is a function that will process the command-line arguments mentioned earlier. Next, we need to write code that can add a watermark image to the main image. Let's call this addWaterMark(). On similar lines, we will need methods that add text and date stamp to the image. We will call this addText() and addDateStamp() respectively. With this information, we will develop code to make this work. In this project, we will encapsulate this functionality in a class, but it is not necessary. We do so to make this tool extensible for future use.

  1. Download the file WaterMarkMaker.py. This has the code required in this project. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required