[f-spot/FSPOT_0_6_0_STABLE] basic support for .rw2 file



commit d1ba356b661475d6330de9a37edec343d1984a6b
Author: Stephane Delcroix <stephane delcroix org>
Date:   Wed Nov 4 18:01:08 2009 +0100

    basic support for .rw2 file
    
    import and generte thumbs for panasonic .rw2 files. Doesn't display the full image yet. Fixes bgo #593474. Require dcraw >= 8.88

 src/Imaging/ImageFile.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Imaging/ImageFile.cs b/src/Imaging/ImageFile.cs
index 99f6a1d..93b855e 100644
--- a/src/Imaging/ImageFile.cs
+++ b/src/Imaging/ImageFile.cs
@@ -55,6 +55,7 @@ namespace FSpot {
 			name_table [".raw"] = typeof (FSpot.Tiff.NefFile);
 			name_table [".kdc"] = typeof (FSpot.Tiff.NefFile);
 			name_table [".arw"] = typeof (FSpot.Tiff.NefFile);
+			name_table [".rw2"] = typeof (FSpot.DCRawFile);
 			name_table [".tiff"] = typeof (FSpot.Tiff.TiffFile);
 			name_table [".tif"] = typeof (FSpot.Tiff.TiffFile);
 			name_table [".orf"] =  typeof (FSpot.Tiff.NefFile);
@@ -237,7 +238,8 @@ namespace FSpot {
 				".orf", 
 				".pef", 
 				".raw",
-				".raf"
+				".raf",
+				".rw2",
 			};
 			foreach (string ext in raw_extensions)
 				if (ext == System.IO.Path.GetExtension (name).ToLower ())



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]