A Python-based watermarking application built using CustomTkinter
and PIL
that allows users to add text and logo watermarks to images. The application supports the customization of text, font, size, color, and the ability to drag and position the watermark on the image.
- Text Watermark: Add customizable text to your images.
- Select font style, size, and color.
- Drag and position the text watermark on the image.
- Logo Watermark: Add a logo or image as a watermark.
- Resize and position the logo watermark.
- Supports various image formats (JPG, PNG, BMP).
- Mutual Exclusivity: The application ensures that users can either add text or a logo as a watermark, not both simultaneously.
- Image Saving: Save the watermarked image in PNG format with an option to choose the file name and location.
- Python 3.6 or higher
PIL
(Pillow)CustomTkinter
-
Clone the repository:
git clone https://github.com/jinku-06/Image-Watermarking-Desktop-app.git cd watermarking-app
-
Install the required packages:
pip install -r requirements.txt
-
Run the application:
python app.py
- Load an Image: Start by loading an image onto the canvas.
- Add Text Watermark:
- Input your desired text.
- Customize the font style, size, and color.
- Drag and position the text on the image.
- Note: Adding a text watermark disables the option to add a logo.
- Add Logo Watermark:
- Select and upload a logo or image to use as a watermark.
- Resize and position the logo on the image.
- Note: Adding a logo watermark disables the option to add text.
- Save the Image: Once satisfied with the watermark, save the image to your desired location.
watermarking-app/
│
├── fonts/ # Custom fonts directory
├── app.py # Main application file
├── watermark.py # Watermark functionality class
├── requirements.txt # Required Python packages
└── README.md # Project documentation
Below are some sample images showcasing the application work:
UI:

Text Watermark :

Logo Watermark:
