]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 9 Jan 2012 17:16:52 +0000 (17:16 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 9 Jan 2012 17:16:52 +0000 (17:16 +0000)
coders/tiff.c

index 10b76febcaf001d1ed26cf8594af34f735a2d5f4..2fd26e3576b3cd0a56539038c43194495b727665 100644 (file)
@@ -1102,7 +1102,10 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
     }
     TIFFGetProfiles(tiff,image,exception);
     TIFFGetProperties(tiff,image,exception);
-    TIFFGetEXIFProperties(tiff,image,exception);
+    option=GetImageOption(image_info,"tiff:exif-properties");
+    if ((option == (const char *) NULL) ||
+        (IsMagickTrue(option) == MagickFalse))
+      TIFFGetEXIFProperties(tiff,image,exception);
     /*
       Allocate memory for the image and pixel buffer.
     */