Skip to content

vidhun05/IMPRINT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

IMPRINT

A user-friendly desktop application for adding text and image watermarks to your photos. Built with Python using Tkinter for the GUI and PIL (Pillow) for image processing.

Python License Platform

Table of Contents

Features

🎨 Text Watermarks

  • Add custom text watermarks to images
  • Choose from multiple font options (Arial, Times, Courier)
  • Adjustable font sizes (10-40pt)
  • Custom color picker for text
  • Multiple positioning options (Top-Left, Top-Right, Center, Bottom-Left, Bottom-Right)
  • Real-time preview of watermark placement

πŸ–ΌοΈ Image Watermarks

  • Add image watermarks (logos, signatures, etc.)
  • Adjustable watermark size (5-50% of main image width)
  • Multiple positioning options
  • Support for transparent PNG watermarks
  • Real-time preview functionality

πŸ”§ General Features

  • Clean, intuitive user interface
  • Support for multiple image formats (JPG, JPEG, PNG, BMP, GIF, TIFF)
  • High-quality image processing with maintained aspect ratios
  • Easy navigation with back buttons
  • Save watermarked images in various formats

Screenshots

image image image

Installation

pip install -r requirements.txt

Prerequisites

  • Python 3.7 or higher
  • pip (Python package installer)

Note: tkinter comes pre-installed with most Python installations.

Clone and Run

git clone https://github.com/vidhun05/IMPRINT.git
cd IMPRINT
python main.py

Usage

  1. Launch the Application

    python main.py
  2. Select an Image

    • Click "Select Image" button
    • Choose your image file from the file dialog
  3. Add Watermark

    • For Text Watermark:

      • Click "Add Text Watermark"
      • Enter your text
      • Customize position, font, size, and color
      • Click "Apply Text" when satisfied with preview
    • For Image Watermark:

      • Click "Add Image Watermark"
      • Select your watermark image
      • Adjust position and size
      • Click "Apply Image Watermark"
  4. Save Your Image

    • Click "Save Image" button
    • Choose your desired location and format

Supported Formats

Input Formats

  • JPEG (.jpg, .jpeg)
  • PNG (.png)
  • BMP (.bmp)
  • GIF (.gif)
  • TIFF (.tiff)

Output Formats

  • PNG (.png) - Recommended for best quality
  • JPEG (.jpg, .jpeg)

Technical Details

Built With

  • Python 3.7+ - Core programming language
  • Tkinter - GUI framework
  • PIL/Pillow - Image processing library
  • OS - File system operations

Key Features

  • Smart Font Handling: Automatic fallback to system fonts if custom fonts are unavailable
  • Aspect Ratio Preservation: Images are resized maintaining their original proportions
  • Memory Management: Efficient image handling with proper garbage collection
  • Error Handling: Comprehensive error handling with user-friendly messages

Project Structure

IMPRINT/
β”‚
β”œβ”€β”€ main.py             # Main application file
β”œβ”€β”€ README.md           # Project documentation
└── requirements.txt    # Python dependencies

Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Ideas for Contributions

  • Add more watermark positioning options
  • Implement batch processing for multiple images
  • Add transparency/opacity controls for watermarks
  • Create preset watermark templates
  • Add drag-and-drop functionality
  • Implement undo/redo functionality

Known Issues

  • Font files may not be available on all systems (fallback to default font is implemented)
  • Large images may take longer to process

Future Enhancements

  • Batch processing for multiple images
  • Watermark transparency/opacity controls
  • Drag and drop functionality
  • Preset watermark templates
  • Undo/Redo functionality
  • Command-line interface
  • Additional image filters and effects

License

This project is licensed under a custom Non-Commercial License based on the MIT License.

You are free to:

  • Use the software for personal or educational purposes
  • Modify and improve the code
  • Contribute via pull requests

You are not allowed to:

  • Sell or use this software for commercial purposes
  • Distribute modified versions for profit

See the LICENSE file for full terms.

Author

Vidhun - Initial work

Acknowledgments

  • Thanks to the Python community for excellent libraries
  • PIL/Pillow team for robust image processing capabilities
  • Tkinter for providing a simple yet powerful GUI framework

Support

If you encounter any problems or have questions, please:

  1. Check the Issues page
  2. Create a new issue if your problem isn't already listed
  3. Provide as much detail as possible about your setup and the issue

⭐ If you found this project helpful, please give it a star! ⭐

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages