[Digikam-users] how does digikam determine the date of an image?

Gilles Caulier caulier.gilles at gmail.com
Tue Jul 28 22:53:25 BST 2015


Very simple look in code, especially in this function :

https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2/repository/revisions/master/entry/libkexiv2/kexiv2image.cpp#L509

In this function we try metadata tags step by step. When one is found with
a valid time stamp, the value is returned as well...

Gilles Caulier

2015-07-28 22:01 GMT+02:00 Mark Alford <alford at wuphys.wustl.edu>:

> OK, so now my question is: which EXIF date does digikam use?
> The file I am interested in has many dates in the EXIF metadata:
>
> > exiftool -a -G1 P1000986_new.MOV | grep -i date
> [System]        File Modification Date/Time     : 2015:07:27 19:07:01+01:00
> [System]        File Access Date/Time           : 2015:07:28 19:31:06+01:00
> [System]        File Inode Change Date/Time     : 2015:07:27 19:07:01+01:00
> [QuickTime]     Create Date                     : 2013:05:17 05:16:08
> [QuickTime]     Modify Date                     : 2013:05:17 05:16:08
> [Track1]        Track Create Date               : 2013:05:17 05:16:08
> [Track1]        Track Modify Date               : 2013:05:17 05:16:08
> [Track1]        Media Create Date               : 2013:05:17 05:16:08
> [Track1]        Media Modify Date               : 2013:05:17 05:16:08
> [Track2]        Track Create Date               : 2013:05:17 05:16:08
> [Track2]        Track Modify Date               : 2013:05:17 05:16:08
> [Track2]        Media Create Date               : 2013:05:17 05:16:08
> [Track2]        Media Modify Date               : 2013:05:17 05:16:08
>
>
> On Tue, 2015-07-28 at 09:55 +0200, Gilles Caulier wrote:
> > By order of priority :
> >
> > 1/ Exif date (the camera shot are registered here)
> > 2/ Makernotes if exist (as a part of Exif)
> > 3/ XMP
> > 4/ IPTC
> > 5/ file time -stamp in case of no metadata are found (most weird
> > case)
> >
> > 2015-07-28 8:33 GMT+02:00 Anders Lund <anders at alweb.dk>:
> > > Mandag den 27. juli 2015 22:12:37 skrev Mark Alford:
> > > > Yes. My question is which of these (or which other recorded date)
> > > does
> > > > Digikam choose to display in the right panel, below the Captions?
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20150728/90f67f5e/attachment.html>


More information about the Digikam-users mailing list