Skip to content

A project to review the tkinter-module and create an application for watermarking pictures with Python.

Notifications You must be signed in to change notification settings

felixschwebel/WatermarkingDesktopApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WatermarkingDesktopApp

A project to review the Tkinter module and create an application for watermarking pictures with Pillow in Python.

The user can upload an image, type some text that should be displayed as a watermark and choose the position, font, color, and size of the text.

final_UI

Before displaying the new image, it’s resized to fit the window.

Screenshot 2023-01-16 at 14 35 45

When the Preview Button is pressed, and a picture was uploaded the program gets hold of the text and position. The position is then “translated” into coordinates on the resized picture. In the last step the size, color and font are saved and used to change the text_containter - Canvas object.

Screenshot 2023-01-16 at 14 36 18

If no picture was uploaded the user will be asked to upload one.

Screenshot 2023-01-16 at 14 36 34

When the user wants to download the picture, the final watermark with the original size coordinates is created and drawn with the Pillow’s ImageDraw. Finally, the new filename gets the watermarked_-prefix and the user is asked to provide a location.

Screenshot 2023-01-16 at 14 37 00

About

A project to review the tkinter-module and create an application for watermarking pictures with Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages