drewnoakes / metadata-extractor

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

Most EXIF tags are not found for iPhone HEIC photos #476

Closed nicksorin closed 4 years ago

nicksorin commented 4 years ago

Sample photo taken with iPhone 8: https://drive.google.com/open?id=1DMGFFP6cZsI0aMOtcMct8vlwSTeMZBpk

Using Windows 10, check photo Properties > Details:

Using metadata-extractor, print all tags from all directories:

Would be highly appreciated if you could improve HEIC support.

Note: if needed, you can add this photo to the public library

drewnoakes commented 4 years ago

@nicksorin in the last few days we've improved HEIC support on master which has not yet been released via Maven. Would you be able to test using the latest code and let us know if you see the data you expect?

Note: if needed, you can add this photo to the public library

Thanks very much!

drewnoakes commented 4 years ago

I ran this on master and see that we don't pull out a bunch of data from the file. The .NET implementation does, so the action item here is to port logic from .NET to Java to achieve parity across the implementations.

nicksorin commented 4 years ago

Thanks, @drewnoakes for your quick feedback. Keep my fingers crossed for you to find the time to implement this improvement!

drewnoakes commented 4 years ago

I don't know when I'll be able to get to it. In the meantime someone else is welcome to step in with a PR. It should be a relatively straightforward task, and a nice introduction to the library.

normana10 commented 4 years ago

I had started work on this about a month ago and got distracted, I've just put in a PR #478

drewnoakes commented 4 years ago

Fixed by @normana10 in #478.