Skip to content

fraudian/SnapTime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Έ Image Timestamp Converter

This Python script adds a timestamp to images that follow a specific naming pattern, such as those transferred from iCloud. The timestamp is derived from the file name and is added to the bottom-right corner of the image, similar to how older cameras used to imprint the date and time on photos.

✨ Features

  • πŸ–ΌοΈ Converts images with filenames like 2016_11_05_20_42_IMG_1129.JPG.
  • πŸ•°οΈ The timestamp format is DD/MM/YY HH:MM (or just DD/MM/YY if no time is provided).
  • πŸ—‚οΈ Creates an "output" folder to store the converted images while preserving the original images.
  • ✨ Adds a shadow effect behind the timestamp text to ensure readability.

πŸ“‹ Requirements

  • 🐍 Python 3.x
  • πŸ–ΌοΈ Pillow library (for image processing)
  • 🎨 colorama library (for colored terminal output)

πŸš€ Installation

  1. Clone or download this repository to your local machine.
  2. Install the required dependencies using pip:
pip install pillow
pip install colorama

Example Output:

Here is an example of how the image will look before and after running the script:

Before: Original Image

After: Image with Timestamp

Made with ❀️ by fraudian

About

Python script to add timestamps to images based on their filename, ideal for iCloud photos.

Resources

License

Stars

Watchers

Forks

Languages