Update of /cvsroot/ufraw/ufraw
In directory vz-cvs-3.sog:/tmp/cvs-serv22094

Modified Files:
        ufraw_exiv2.cc 
Log Message:
Delete the DNGVersion tag to make sure that DCRaw does not handle saved TIFF 
files as raw.

Index: ufraw_exiv2.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_exiv2.cc,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- ufraw_exiv2.cc      20 Feb 2011 06:15:20 -0000      1.61
+++ ufraw_exiv2.cc      19 Nov 2011 03:45:13 -0000      1.62
@@ -232,6 +232,11 @@
             != exifData.end())
         exifData.erase(pos);
 
+    // DCRaw handles TIFF files as raw if DNGVersion is found.
+    if ((pos = exifData.findKey(Exiv2::ExifKey("Exif.Image.DNGVersion")))
+            != exifData.end())
+        exifData.erase(pos);
+
     // DNG private data
     if ((pos = exifData.findKey(Exiv2::ExifKey("Exif.Image.DNGPrivateData")))
             != exifData.end())


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to