[KimDaBa] Little problem with EXIF dates and orientation info
brick at chatsubo.dyndns.org
Thu May 6 00:27:28 CEST 2004
Thanks for the info!
On Wed, 2004-05-05 at 17:34, Marco Caldarelli wrote:
> to reread the Exif time I use the following trick:
> I edit the kimdaba/imagedb.cpp file and comment line
> 519 which reads
> if ( !(*it)->startDate().hasValidTime() )
> Then I recompile and do
> 'Maintenance->Read time info from files...'
> from KimDaBa. In this way the time info for all files
> is reread.
> To update also the orientation information, you
> probably have to copy in file imageinfo.cpp lines
> 465-475 (//Orientation) and paste them after line 415
> of the same file. This should work but I didn't test
OK, now the interesting thing is that this updates the time, but not the
date! So, I get the correct (modulo the buglet I'l describe later)
timestamp, but not date if I do this.
> If you want to reread all exif data, what you can do
> is to change line 565 in imagedb.cpp from
> but if you inserted some description with kimdaba you
> may loose it..
OK, this gets updates the time, and date stamp, and read the orientation
from the file. Unfortunately, for the cameras that don't have an
orientation sensor, they just stubbornly record the wrong orientation,
and since I have, at the moment, more photos from this kind of camera,
it'll be better for me to only update the timestamps.
So, I tried guessing and changing
but this did not seem to work. How can I get it to update both the time
OK, and now onto the buglet. It seems that the 10s of seconds are
incorrectly imported. The 10's of seconds are always 0.
That is, times are always xx:xx:0x, where the x's represent the correct
time info. This seems to be consistent among all my photos.
Thanks for your time
> Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!
> KimDaBa mailing list
> KimDaBa at klaralvdalens-datakonsult.se
More information about the KimDaBa