Skip to content

Improve Exif tag support and performance #42

@ezwelty

Description

@ezwelty

We currently use piexif for reading image metadata. This works fine, but faster (and more actively maintained) libraries may be faster and/or be able to parse manufacturer-specific maker notes.

Alternatives to consider include:

Todo

  • Add support for Exif(path: pathlib.Path) (only Exif(path: str) is currently supported)
  • Add properties to access additional tags useful for camera system forensics
    • Camera serial number: BodySerialNumber, CameraSerialNumber, maker notes (e.g. Canon.SerialNumber, Nikon3.SerialNumber)
    • Lens serial number: LensSerialNumber
    • Lens make: LensMake
    • Lens model: LensModel
    • Lens info (focal range, aperture range, etc): LensSpecification, LensInfo, maker notes (e.g. Canon.LensModel, Canon.LensInfo)
    • Shutter count: maker notes (e.g. Nikon3.ImageCount)
    • Frame number: file name (e.g. 'IMG_1234.JPG'), maker notes (e.g. Canon.FileNumber, NikonFi.FileNumber, NikonFi.DirectoryNumber)
    • GPS coordinates: GPSLatitudeRef, GPSLatitude, GPSLongitudeRef, GPSLongitude, GPSAltitudeRef, GPSAltitude, GPSMapDatum
    • GPS datetime: GPSDateStamp, GPSTimeStamp

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions