[f-spot] Add Samsung RAW files (.srw) to RAW file extension list



commit c998f78facebf58f31e6121b2c1ab70b81209ac6
Author: Paul Wellner Bou <paul p wbou de>
Date:   Sun Sep 9 11:16:38 2012 +0200

    Add Samsung RAW files (.srw) to RAW file extension list
    
    This fix firstly enables the RAW file detection so that the extension "RawPlusJpg"
    is able to merge the RAW and the JPG into one single photo with two different versions.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681647

 src/Clients/MainApp/FSpot.Imaging/ImageFile.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Clients/MainApp/FSpot.Imaging/ImageFile.cs b/src/Clients/MainApp/FSpot.Imaging/ImageFile.cs
index a329801..2de78bc 100644
--- a/src/Clients/MainApp/FSpot.Imaging/ImageFile.cs
+++ b/src/Clients/MainApp/FSpot.Imaging/ImageFile.cs
@@ -100,6 +100,7 @@ namespace FSpot.Imaging
 			NameTable [".kdc"] = nef_type;
 			NameTable [".rw2"] = raw_type;
 			NameTable [".srf"] = nef_type;
+			NameTable [".srw"] = raw_type; // Samsung NX Raw files, supported by latest dcraw
 
 
 			// as xcf pixbufloader is not part of gdk-pixbuf, check if it's there,
@@ -185,6 +186,7 @@ namespace FSpot.Imaging
 				".raw",
 				".raf",
 				".rw2",
+				".srw",
 			};
 			var extension = uri.GetExtension ().ToLower ();
 			return raw_extensions.Any (x => x == extension);



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