Open fwsmit opened 3 weeks ago
Thanks for taking the time to open this issue.
If you want to provide a PR with tests, example images, and a strict include-list for those Sony mirrorless that we can show behave in this fashion, I'll review it.
Cool, I'll work on that. For now I only know about this for my camera. I'll see if I can get more example images from other cameras.
I've asked for some example pictures to be submitted in this issue.
I'm working on resolving the issues with timezone detection for DSLR pictures. At least on my Sony A7 first gen it's possible to infer the timezone from the exif metadata. To fix this issue for other camera's as well, I need some example pictures.
To submit example pictures, please follow the following steps:
- Set your camera to a time of 10:00 AM and a timezone of GMT+0 (No daylight savings time). Take the first picture.
- Set your camera to a timezone of GMT+8 (No daylight savings time). The time should now be 18:00. Take the second picture
Upload both pictures to the following github issue: https://github.com/photostructure/exiftool-vendored.js/issues/187. Please document clearly which image is which timezone and which camera you used.
The problem is that on my camera SONY DSC-RX 100 no timezone information is available. Therefore example photos make no sence. All times on first photo are 10:00 AM the second are 18:00PM !
The problem is that on my camera SONY DSC-RX 100 no timezone information is available. Therefore example photos make no sence. All times on first photo are 10:00 AM the second are 18:00PM !
Does your camera have an option to set the timezone in the settings? If so, there might be timezone information hidden in the metadata. If not and it also doesn't have a GPS, then there is no way to tell yeah.
Yes there is an option to set it - but this information is not stored anywhere. The camera has also no gps!
Are you sure it's not stored anywhere? If you send the pictures to me, I can double check it for you. It may be hidden somewhere, like it is in my camera
Here are both photos, dates are on the pictures. DSC09717.zip
Good look - I have used exiftoolgui - but nothing found in the metadata
Good look - I have used exiftoolgui - but nothing found in the metadata
I also cannot find anything useful in the metadata unfortunately :(
Is your feature request related to a problem? Please describe. The metadata of pictures taken with the Sony A7 first gen (and presumably other sony camera's) doesn't include straight up timezone information. The current method for inferring the timezone information is not sufficient for this camera.
Describe the solution you'd like The timezone offset can be inferred from the "Sony Date Time 2" field, which seems to be the time in UTC. I would suggest to add this field as an additional source of UTC timestamps. Maybe it should only be done if a sony camera is detected.
Describe alternatives you've considered This seems to be the only clue of timezone information, as the camera doesn't have GPS.
Additional context Below are some examples of pictures taken with different timezones. They all have the same of 20:10 UTC. Note that this is reflected in the "Sony date time 2" variable.
GMT +0 (no daylight savings)
GMT+0 (daylight savings time)
GMT +1 (daylight savings time)
GMT +5.5 (daylight savings time)