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.
- πΌοΈ Converts images with filenames like
2016_11_05_20_42_IMG_1129.JPG
. - π°οΈ The timestamp format is
DD/MM/YY HH:MM
(or justDD/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.
- π Python 3.x
- πΌοΈ
Pillow
library (for image processing) - π¨
colorama
library (for colored terminal output)
- Clone or download this repository to your local machine.
- Install the required dependencies using pip:
pip install pillow
pip install colorama
Here is an example of how the image will look before and after running the script:
Made with β€οΈ by fraudian