Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version photos when updating EXIF #26

Open
jmathai opened this issue Dec 10, 2015 · 3 comments
Open

Version photos when updating EXIF #26

jmathai opened this issue Dec 10, 2015 · 3 comments

Comments

@jmathai
Copy link
Owner

jmathai commented Dec 10, 2015

Since updating EXIF rewrites the file and can cause corruption we should consider copying the previous version of the file to some known location.

Taken from this comment on Medium.
https://medium.com/@sacherjj/with-exif-you-are-rewriting-the-file-every-time-you-change-anything-6aa25c5835fa#.4wjcrzpcg

@bdillahu
Copy link

Just as an idea, maybe just dump out the EXIF each time it changes and version that... it wouldn't save from file corruption (that's for backups and bitrot detection), but it would save from the accidental trashing of EXIF data (input wrong date, etc.)

@jmathai
Copy link
Owner Author

jmathai commented Jan 23, 2017

@bdillahu dumping the EXIF is an interesting idea. If we version the photos themselves it also backs up the EXIF (inside the backed up photo). It's a bit heavy handed but in the point taken from the comment on Medium it serves the primary purpose of protecting all the bits of a photo when it's modified and not just EXIF.

Dumping the EXIF is more closely related to supporting XMP sidecar files. I thought there was an issue for it but can't seem to find one.

@chrisweis
Copy link

chrisweis commented Sep 23, 2019

#341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants