From: Cristy Date: Sun, 26 Nov 2017 18:23:17 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-12~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a4d672156155b2754426b2b6a5658f0faf9be13;p=imagemagick ... --- 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);