This repository has been archived on 2025-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-15 01:49:29 +01:00
2020-11-15 01:49:29 +01:00
2020-11-15 01:49:29 +01:00

📷📆 - photo-datestamper

Little script to add date caption to photos from their EXIF data.

Sample result

Notes on Exif data

There is ExifRead or Exif which can also modify exif data (and is tested and documented).

Both seem to be alive but ExifRead should suffice.

with open(file, 'rb') as f:
    # Dont process makernote tags, dont extract the thumbnail image (if any)
    tags = exif.process_file(f, details=False)
for tag in tags.keys():
    if tag not in ('JPEGThumbnail', 'TIFFThumbnail', 'Filename', 'EXIF MakerNote'):

Interesting keys (to be completed by further observations):

Image Orientation
Image DateTime
EXIF DateTimeOriginal
EXIF DateTimeDigitized
EXIF ExifImageWidth
EXIF ExifImageLength
Description
Little script to add date caption to photos from their EXIF data.
Readme 2.4 MiB
Languages
Python 100%