Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get metadata (date taken, location) from photo (jpeg)
KirstenS last edited by KirstenS
I was hoping there was a way to get metadata (date taken and gps location) from a photo (jpeg) using Qt. I cannot find a way to get the metadata using QImage or QImageReader. I have found question about using QMediaObject but with no answers for images (https://stackoverflow.com/questions/21562848/qt-getting-photo-metadata, https://stackoverflow.com/questions/42396954/qt-get-jpeg-exif-metadata-for-datetime). Is there any method in Qt 5.7 to get a photo's metadata?
I did not notice any functions for that but it seems
can be used. In connection with QMediaPlayer.
However, this lib might be useful for you (in case the Qt version is not what u want)
very easy to use. you can just add
exif.cpp and exif.h to project and off you go.
easyexif was mentioned in the links you provide so i guess u already seen it :)