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

Mark Alford alford at wuphys.wustl.edu
Tue Jul 28 23:11:21 BST 2015


OK, now I am confused.

digikam assigns this file the date 2013:05:17 so clearly it is NOT
using the filesystem info (file creation date etc).

But the EXIF fields it searches for,

Exif.Photo.DateTimeOriginal
Exif.Photo.DateTimeDigitized
Exif.Image.DateTime

are not present in this file's metadata.

So is there also some XMP or IPTC data that exiftool is not showing me?

How do I see all the metadata in order to work out what date field
digikam is seeing in this case?



On Tue, 2015-07-28 at 23:53 +0200, Gilles Caulier wrote:
> Very simple look in code, especially in this function :
> 
> https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2/repo
> sitory/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
> > 
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
-- 
Prof. Mark Alford         http://www.physics.wustl.edu/alford/
Chairman, Physics Department, Washington University,  St Louis
Tel: +1 314 935 5034                      Fax: +1 314 935 6219





More information about the Digikam-users mailing list