drewnoakes / metadata-extractor

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Apache License 2.0
2.56k stars 480 forks source link

GPS directory cannot be decoded for OnePlus 8 image #497

Closed axelfontaine closed 4 years ago

axelfontaine commented 4 years ago

Sample image: https://github.com/drewnoakes/metadata-extractor-images/blob/master/jpg/OnePlus8.jpg

All fields are listed as 0, even though Android correctly shows the correct details.

drewnoakes commented 4 years ago

It seems that the values in the file are actually zero. Exiftool shows the same.

Can you provide more details on how Android shows the location data?

axelfontaine commented 4 years ago

Arrghh! I just checked on the original device and Google Photos DOES show GPS data. However when I check on another it doesn't. Which means that somehow it pulls the data from a different source on the original device! (Go figure why the camera app didn't save it in the image??) So metadata-extractor works as expected. Terribly sorry about the trouble. My bad. Closing.

drewnoakes commented 4 years ago

No problem. Thanks for following up.