Here’s a Python script that adds a watermark to images using the Pillow library. This script works for PNG, JPEG, and other common formats:
Notes:
-
Font path must be updated depending on your OS. For Windows, you might use a font path like:
C:\Windows\Fonts\arial.ttf. -
Adjust opacity, font size, and position as needed.
-
Supports batch processing with minor modifications.
Let me know if you want a batch version to watermark multiple images in a folder.
Share this Page your favorite way: Click any app below to share.