]> granicus.if.org Git - imagemagick/commitdiff
Copy option tiff:ignore-tags from option to artifact.
authordirk <dirk@git.imagemagick.org>
Wed, 26 Aug 2015 15:35:24 +0000 (17:35 +0200)
committerdirk <dirk@git.imagemagick.org>
Wed, 26 Aug 2015 15:35:24 +0000 (17:35 +0200)
coders/tiff.c

index 3aa112c4903ae5639054940854c6929abbaad2b0..c16f5bb309d6ec675f9d6766494f1d0f3e376b90 100644 (file)
@@ -1134,6 +1134,9 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
       image=DestroyImageList(image);
       return((Image *) NULL);
     }
+  option=GetImageOption(image_info,"tiff:ignore-tags");
+  if (option != (const char *) NULL)
+    SetImageArtifact(image,"tiff:ignore-tags",option);
   (void) MagickSetThreadValue(tiff_exception,exception);
   error_handler=TIFFSetErrorHandler(TIFFErrors);
   warning_handler=TIFFSetWarningHandler(TIFFWarnings);