From 163318bc3f759f81d3455e3ee718d61b0e7b6875 Mon Sep 17 00:00:00 2001 From: dirk Date: Wed, 26 Aug 2015 17:35:24 +0200 Subject: [PATCH] Copy option tiff:ignore-tags from option to artifact. --- coders/tiff.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coders/tiff.c b/coders/tiff.c index 3aa112c49..c16f5bb30 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -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); -- 2.40.0