From 3a4d672156155b2754426b2b6a5658f0faf9be13 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 26 Nov 2017 13:23:17 -0500 Subject: [PATCH] ... --- coders/dng.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/coders/dng.c b/coders/dng.c index 8c8fead29..ac6d5c0b7 100644 --- a/coders/dng.c +++ b/coders/dng.c @@ -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); -- 2.40.0