summaryrefslogtreecommitdiffstats
path: root/4674b9a584fcb9ca5151c2c8b9104b5877a81d0c.patch
diff options
context:
space:
mode:
Diffstat (limited to '4674b9a584fcb9ca5151c2c8b9104b5877a81d0c.patch')
-rw-r--r--4674b9a584fcb9ca5151c2c8b9104b5877a81d0c.patch67
1 files changed, 0 insertions, 67 deletions
diff --git a/4674b9a584fcb9ca5151c2c8b9104b5877a81d0c.patch b/4674b9a584fcb9ca5151c2c8b9104b5877a81d0c.patch
deleted file mode 100644
index 3bf4a3c..0000000
--- a/4674b9a584fcb9ca5151c2c8b9104b5877a81d0c.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 4674b9a584fcb9ca5151c2c8b9104b5877a81d0c Mon Sep 17 00:00:00 2001
-From: Cristy <urban-warrior@imagemagick.org>
-Date: Thu, 30 Nov 2017 09:22:48 -0500
-Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/888
-
----
- coders/dng.c | 12 +++++++-----
- 1 file changed, 7 insertions(+), 5 deletions(-)
-
-diff --git a/coders/dng.c b/coders/dng.c
-index 069104dee9..17791019e0 100644
---- a/coders/dng.c
-+++ b/coders/dng.c
-@@ -161,25 +161,24 @@ static void SetDNGProperties(Image *image,const libraw_data_t *raw_info)
-
- (void) SetImageProperty(image,"dng:make",raw_info->idata.make);
- (void) SetImageProperty(image,"dng:camera.model.name",raw_info->idata.model);
-- (void) SetImageProperty(image,"dng:software",raw_info->idata.software);
- (void) FormatMagickTime(raw_info->other.timestamp,MagickPathExtent,timestamp);
- (void) SetImageProperty(image,"dng:create.date",timestamp);
-+ (void) SetImageProperty(image,"dng:f.number",property);
-+ (void) FormatLocaleString(property,MagickPathExtent,"%0.1f",
-+ raw_info->other.iso_speed);
- #if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,18)
-+ (void) SetImageProperty(image,"dng:software",raw_info->idata.software);
- if (*raw_info->shootinginfo.BodySerial != '\0')
- (void) SetImageProperty(image,"dng:serial.number",
- raw_info->shootinginfo.BodySerial);
- (void) FormatLocaleString(property,MagickPathExtent,"%0.2f",
- raw_info->other.FlashEC);
- (void) SetImageProperty(image,"dng:flash.exposure.compensation",property);
--#endif
- (void) FormatLocaleString(property,MagickPathExtent,"1/%0.1f",
- 1.0/raw_info->other.shutter);
- (void) SetImageProperty(image,"dng:exposure.time",property);
- (void) FormatLocaleString(property,MagickPathExtent,"%0.1f",
- raw_info->other.aperture);
-- (void) SetImageProperty(image,"dng:f.number",property);
-- (void) FormatLocaleString(property,MagickPathExtent,"%0.1f",
-- raw_info->other.iso_speed);
- (void) SetImageProperty(image,"dng:iso.setting",property);
- (void) FormatLocaleString(property,MagickPathExtent,"%0.1f",
- raw_info->lens.EXIF_MaxAp);
-@@ -212,6 +211,7 @@ static void SetDNGProperties(Image *image,const libraw_data_t *raw_info)
- (void) FormatLocaleString(property,MagickPathExtent,"%d mm",
- raw_info->lens.FocalLengthIn35mmFormat);
- (void) SetImageProperty(image,"dng:focal.length.in.35mm.format",property);
-+#endif
- }
- #endif
-
-@@ -382,6 +382,7 @@ static Image *ReadDNGImage(const ImageInfo *image_info,ExceptionInfo *exception)
- profile=DestroyStringInfo(profile);
- }
- }
-+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0,18)
- if (raw_info->idata.xmpdata)
- {
- profile=BlobToStringInfo(raw_info->idata.xmpdata,
-@@ -392,6 +393,7 @@ static Image *ReadDNGImage(const ImageInfo *image_info,ExceptionInfo *exception)
- profile=DestroyStringInfo(profile);
- }
- }
-+#endif
- SetDNGProperties(image,raw_info);
- libraw_close(raw_info);
- return(image);