Skip to content

purejava/exif-time-shift

Repository files navigation

EXIF Time Shift (JavaFX, Java 24)

exif-time-shift

A desktop app to scan a directory of photos, check the Device/Camera Model, the photos were taken with, and apply a time offset to EXIF DateTimeOriginal and DateTimeDigitized for the selected Device/Camera Model using Apache Commons Imaging (lossless where possible).

Imagine, you and your friend take photos with two cameras. One has a faulty local time set. This allows to select all photos taken with this camera and to correct the time stamps.

Requirements

  • Java 24 (toolchain in Gradle)
  • Gradle 8+
  • JavaFX

Run

Mac + Linux

./gradlew run

Windows

gradlew.bat run

Notes

  • Only JPEG/TIFF EXIF is modified. Other formats are skipped.
  • We write updates losslessly into a temp file and then replace the original.
  • A .bak backup of the original file is created next to it.

Copyright

Copyright (C) 2025 Ralph Plawetzki

The Camera SVG Vector logo is made by Solar Icons and is published under the CC Attribution License (CC BY 4.0 Deed)

About

Modify EXIF DateTimeOriginal and DateTimeDigitized lossless

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages