[KPhotoAlbum] kphotoalbum reads the wrong date from EXIF
Marco Molteni
molter at tin.it
Thu Mar 2 19:43:18 GMT 2006
sure, I should have done this before:
exiv2 -M "set Exif.Image.DateTime yyyy:mm:dd hh:mm:ss" file
exiv2 -M "set Exif.Photo.DateTimeOriginal yyyy:mm:dd hh:mm:ss" file
exiv2 -M "set Exif.Photo.DateTimeDigitized yyyy:mm:dd hh:mm:ss" file
note the quotes and the date syntax, it must be as shown according to
the spec.
and Jesper, the more I use KPA, the more I love it. Really a good work :-)
marco
"Jesper K. Pedersen" <blackie at blackie.dk> wrote:
> I believe I have this issue fixed now. Could you please send me the
> command line you used for exiv2 to edit the files, so I can test my
> changes.
>
> Cheers
> Jesper.
>
> On Tuesday 28 February 2006 21:28, Marco Molteni wrote:
> | Hi (Jesper you are a shiny apple),
> |
> | I am using kphotoalbum-snap-2006.01.28.
> | By looking at the EXIF specs (http://exif.org/specifications.html),
> | there are 3 timestamps: Image.DateTime -- time of last
> | modification to the image
> | Photo.DateTimeOriginal -- time of the creation of the original
> | Photo.DateTimeDigitized -- time of digitization of the original
> |
> | seen in another way:
> |
> | DateTimeOriginal <= DateTimeDigitized <= DateTime
> |
> | I believe the right timestamp to consider is DateTimeOriginal, with
> | fallback to other two in case DateTimeOriginal is not there.
> |
> | On the other hand, by changing those 3 fields in a test file using
> | the exiv2 command line utility, I found two bugs in kimdaba:
> |
> | 1. it seems that kimdaba looks for DateTime instead of
> | DateTimeOriginal.
> | To test: clear the DateTime field in a file, kphotoalbum will not
> | give a
> | date to the file
> |
> | 2. strange mix of date and time: set the date only (not the time) in
> | the DateTime field: kphotoalbum will load the date from the exif
> | field and the time from the file timestamp.
> |
> | marco
>
> --
> Having trouble finding a given image in your collection containing
> thousands of images?
>
> http://ktown.kde.org/kimdaba might be the answer.
--
He who receives an idea from me, receives instruction himself
without lessening mine; as he who lights his taper at mine,
receives light without darkening me. -- Thomas Jefferson
More information about the Kphotoalbum
mailing list