[Rawstudio-commit] r4158 - trunk/plugins/meta-tiff

Klaus Post klauspost at gmail.com
Sun Feb 19 18:51:29 CET 2012


Author: post
Date: 2012-02-19 18:51:29 +0100 (Sun, 19 Feb 2012)
New Revision: 4158

Modified:
   trunk/plugins/meta-tiff/tiff-meta.c
Log:
Add Whitebalance support for Nikon 1 J1 & V1.

Modified: trunk/plugins/meta-tiff/tiff-meta.c
===================================================================
--- trunk/plugins/meta-tiff/tiff-meta.c	2012-02-19 17:24:57 UTC (rev 4157)
+++ trunk/plugins/meta-tiff/tiff-meta.c	2012-02-19 17:51:29 UTC (rev 4158)
@@ -601,6 +601,7 @@
 			raw_get_uint(rawfile, offset, &uint_temp1);
 			offset = base + uint_temp1;
 		}
+		g_debug("Nikon tag:0x%x", fieldtag);
 		switch(fieldtag)
 		{
 			case 0x0002: /* ISO */
@@ -614,6 +615,8 @@
 				    || g_str_equal(meta->model_ascii, "NIKON D3000")
 				    || g_str_equal(meta->model_ascii, "NIKON D3100")
 				    || g_str_equal(meta->model_ascii, "NIKON D5000")
+				    || g_str_equal(meta->model_ascii, "NIKON 1 J1")
+				    || g_str_equal(meta->model_ascii, "NIKON 1 V1")
 				    || g_str_equal(meta->model_ascii, "NIKON D7000"))
 				{
 					meta->cam_mul[0] = get_rational(rawfile, offset);




More information about the Rawstudio-commit mailing list