[Digikam-devel] [Bug 96459] EXIF for RAW camera images

Gilles Caulier caulier.gilles at free.fr
Tue May 23 20:55:17 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=96459         
caulier.gilles free fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From caulier.gilles free fr  2006-05-23 21:55 -------
SVN commit 544159 by cgilles:

digikam from trunk : bye bye MRW parser from digiKam core, Welcome to  MRW parser from Exiv2 (0.10 release) !!!

To resume: Exif/Makernote from RAW file formats are now extracted in digiKam using Exiv2 library (http://www.exiv2.org). Next release planed in a near future, will support (in read only) these RAW file formats:

Adobe DNG, 
Canon CR2,
Canon CRW, 
Nikon NEF, 
Pentax PEF, 
Sony SR2,
Minolta MRW

New RAW file formats will be added in the future, like X3F, ORF, RAF... 

Developpers : all contributions welcome to improve this great library ! 

I can close bug #96459 now.

BUG: 96459
CCMAIL: digikam-devel kde org, ahuggel gmx net

 M  +1 -1      Makefile.am  
 D             mrwparser.cpp  
 D             mrwparser.h  
 M  +2 -12     rawmetaloader.cpp  


--- trunk/extragear/graphics/digikam/libs/dmetadata/loaders/Makefile.am #544158:544159
 @ -4,7 +4,7  @
 noinst_LTLIBRARIES = libdmetadataloader.la
 
 libdmetadataloader_la_SOURCES = dmetaloader.cpp jpegmetaloader.cpp pngmetaloader.cpp tiffmetaloader.cpp \
-	                        rawmetaloader.cpp mrwparser.cpp 
+	                        rawmetaloader.cpp 
 
 libdmetadataloader_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIBJPEG) $(LIB_TIFF) $(LIB_PNG)
 
--- trunk/extragear/graphics/digikam/libs/dmetadata/loaders/rawmetaloader.cpp #544158:544159
 @ -24,7 +24,6  @
 
 // Local includes.
 
-#include "mrwparser.h"
 #include "rawmetaloader.h"
 
 namespace Digikam
 @ -42,28 +41,19  @
 bool RAWMetaLoader::load(const QString& filePath)
 {
     // In first we trying to use Exiv2 library
+    // Exiv2 0.10 support : DNG, CRW, CR2, NEF, PEF, MRW, SR2
     if (loadWithExiv2(filePath))
         return true;
 
-    // Try to parse MRW RAW file
-    
-    MRWParser mrwparser;
-    if (mrwparser.parseMRW(QFile::encodeName(filePath)))
-    {
-        exifMetadata() = mrwparser.getExif();
-        return true;
-    }
-        
+    // TODO new experimental RAW parser can be added here.
     return false;
 }
 
 bool RAWMetaLoader::save(const QString& filePath)
 {
-    // In first we trying to use Exiv2 library
     if (saveWithExiv2(filePath))
         return true;
         
-    // TODO
     return false;
 }



More information about the Digikam-devel mailing list