[KimDaBa] Little problem with EXIF dates and orientation info

Marco Caldarelli caldarel at yahoo.it
Wed May 5 12:34:14 CEST 2004


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
it..

If you want to reread all exif data, what you can do
is to change line 565 in imagedb.cpp from           
(*it)->readExif((*it)->fileName(),ImageInfo::Time);
to
(*it)->readExif((*it)->fileName(),ImageInfo::Init);
but if you inserted some description with kimdaba you
may loose it..

ciao,
Marco


	

	
		
____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! 
http://companion.yahoo.it



More information about the KimDaBa mailing list