]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 26 Nov 2017 18:23:17 +0000 (13:23 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 26 Nov 2017 18:23:17 +0000 (13:23 -0500)
coders/dng.c

index 8c8fead29e5f9df747c94fdd452aaec0d33429a7..ac6d5c0b79e52e9f641ee7c484120215d3ddc628 100644 (file)
@@ -177,6 +177,10 @@ static void SetDNGProperties(Image *image,const libraw_data_t *raw_info,
   if (*raw_info->shootinginfo.BodySerial != '\0')
     (void) SetImageProperty(image,"dng:serial.number",
       raw_info->shootinginfo.BodySerial,exception);
+  (void) FormatLocaleString(property,MagickPathExtent,"%0.2f",
+    raw_info->other.FlashEC);
+  (void) SetImageProperty(image,"dng:flash.exposure.compensation",property,
+    exception);
 #endif
   (void) FormatLocaleString(property,MagickPathExtent,"1/%0.1f",
     1.0/raw_info->other.shutter);
@@ -187,10 +191,6 @@ static void SetDNGProperties(Image *image,const libraw_data_t *raw_info,
   (void) FormatLocaleString(property,MagickPathExtent,"%0.1f",
     raw_info->other.iso_speed);
   (void) SetImageProperty(image,"dng:iso.setting",property,exception);
-  (void) FormatLocaleString(property,MagickPathExtent,"%0.2f",
-    raw_info->other.FlashEC);
-  (void) SetImageProperty(image,"dng:flash.exposure.compensation",property,
-    exception);
   (void) FormatLocaleString(property,MagickPathExtent,"%0.1f",
     raw_info->lens.EXIF_MaxAp);
   (void) SetImageProperty(image,"dng:max.aperture.value",property,exception);