[KimDaBa] EXIF information from Canon raw files
Jesper K. Pedersen
blackie at blackie.dk
Sun Jan 2 16:05:21 GMT 2005
Thanks.
It has been applied.
Could you please mail me (in a private letter) a raw file with this .thm file,
so I can actually try it myself ;-)
On Sunday 02 January 2005 03:20, Robert L Krawitz wrote:
| This little change does the trick.
|
| $ diff -u fileinfo.cpp~ fileinfo.cpp
| --- fileinfo.cpp~ 2004-12-30 06:47:34.000000000 -0500
| +++ fileinfo.cpp 2005-01-01 21:16:32.618654877 -0500
| @@ -2,13 +2,22 @@
| #include <kfilemetainfo.h>
| #include <qdatetime.h>
| #include <qfileinfo.h>
| +#include "util.h"
|
| FileInfo FileInfo::read( const QString& fileName )
| {
| FileInfo fi;
| fi._fullPath = fileName;
| + QString tempFileName( fileName );
| + if ( Util::isCRW( fileName ) ) {
| + QString baseName = QFileInfo( fileName ).baseName();
| + tempFileName = baseName + QString::fromLatin1( ".thm" );
| + QFileInfo tempFile (tempFileName);
| + if ( !tempFile.exists() )
| + tempFileName = baseName + QString::fromLatin1( ".THM" );
| + }
|
| - KFileMetaInfo metainfo( fileName );
| + KFileMetaInfo metainfo( tempFileName );
| if ( metainfo.isEmpty() )
| return fi;
--
Having trouble finding a given image in your collection containing
thousands of images?
http://ktown.kde.org/kimdaba might be the answer.
More information about the Kphotoalbum
mailing list