Update of /cvsroot/ufraw/ufraw
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25608
Modified Files:
ufraw_exiv2.cc
Log Message:
Read Exif.Canon.FocalLength tag. Patch by Artis RozentÄl.
Index: ufraw_exiv2.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_exiv2.cc,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- ufraw_exiv2.cc 7 Sep 2009 03:30:08 -0000 1.51
+++ ufraw_exiv2.cc 30 Sep 2009 21:51:05 -0000 1.52
@@ -151,6 +151,12 @@
!= exifData.end() ) {
uf_strlcpy_to_utf8(uf->conf->focalLenText, max_name, pos, exifData);
uf->conf->focal_len = pos->toFloat ();
+#if EXIV2_TEST_VERSION(0,18,1)
+ } else if ( (pos=exifData.findKey(Exiv2::ExifKey(
+ "Exif.Canon.FocalLength"))) != exifData.end() ) {
+ uf_strlcpy_to_utf8(uf->conf->focalLenText, max_name, pos, exifData);
+ uf->conf->focal_len = pos->toFloat ();
+#endif
}
/* Read focal length in 35mm equivalent */
if ( (pos=exifData.findKey(Exiv2::ExifKey(
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs