-
Notifications
You must be signed in to change notification settings - Fork 8
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
man page says timezone defaults to computer timezone and ignores picture timezone tag? #24
Comments
It's working as designedl; any time zone tag within the image is currently ignored. If a time zone tag is present, it should really be used instead as it is direct evidence instead of inference. The only test images I have in my collection with time zone information are a few from Nikon DSLRs and they are using a nonstandard MakerNote tag for this. Can you point to upload some test images with time zones? |
Pixel 8 Pro has the same merlin [mc]$ exiftool 110_20231106_Saigon_Google.jpg |
Sony RX100M7 same thing too merlin [mc]$ exiftool 115_20231106_Saigon_SONY.jpg |
For now, I wrote this. It's not perfect since it will not support timezone changes within a direction, but otherwise it should work:
|
The Offset Time tags were added to EXIF relatively recently (ver. 3.21 in 2016). I know the last time I looked for a standardized way of representing this, it didn't exist. It makes to add support, probably by default. |
any chance this can be added? my workaround is ok, except when I have mixed timezones in a directory, and then it falls over :) |
It most definitely can be added, but I'm desperately trying to get the
long-overdue release out (that's stalled on a French translation) so unless
someone sends a PR it will happen after that.
|
If a time zone is found in an image, use that in preference to an automatically-determined time zone. If a manually-specified time zone is given, that takes precedence over all. Only the German translations are fully updated. Fixes #24
If a time zone is found in an image, use that in preference to an automatically-determined time zone. If a manually-specified time zone is given, that takes precedence over all. Only the German translations are fully updated. Fixes #24
If a time zone is found in an image, use that in preference to an automatically-determined time zone. If a manually-specified time zone is given, that takes precedence over all. Only the German translations are fully updated. Fixes #24
If a time zone is found in an image, use that in preference to an automatically-determined time zone. If a manually-specified time zone is given, that takes precedence over all. Only the German translations are fully updated. Fixes #24
If a time zone is found in an image, use that in preference to an automatically-determined time zone. If a manually-specified time zone is given, that takes precedence over all. Only the German translations are fully updated. Fixes #24
If a time zone is found in an image, use that in preference to an automatically-determined time zone. If a manually-specified time zone is given, that takes precedence over all. Only the German translations are fully updated. Fixes #24
All new cameras tag the timezone the picture was taken in
Date/Time Original : 2023:11:06 16:15:35
Offset Time : +07:00
Offset Time Original : +07:00
Offset Time Digitized : +07:00
merlin [mc]$ gpscorrelate -g z20231020_Thailand_Vietnam.gpx -t -v *.jpg
gives me
Date/Time Original : 2023:11:06 16:15:35.181+07:00
GPS Date/Time : 2023:11:07 00:15:35Z
and the GPS tag is just not the correct one.
merlin [mc]$ gpscorrelate -R -z+07:00 -g z20231020_Thailand_Vietnam.gpx -t -v *.jpg
fixes it, but that means I have to read the GPS offset in the picture and give it to gpscorrelate, instead of it getting it itself.
Also, me doing it manually won't work well if a directory has a mix of pictures from different timezones,
Is that working as expected? If so, can the code be improved to use the timezone inside the exif tag? Thanks
The text was updated successfully, but these errors were encountered: