From: Cristy Date: Sat, 14 Jul 2018 15:56:27 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1210 X-Git-Tag: 7.0.8-7~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=881bb6b45f83ce486250820eed5d5ee57fa736f6;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1210 --- diff --git a/coders/tiff.c b/coders/tiff.c index b6419c6c4..05eaeb9ec 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1487,7 +1487,8 @@ RestoreMSCWarning SetImageColorspace(image,CMYKColorspace,exception); if (photometric == PHOTOMETRIC_CIELAB) SetImageColorspace(image,LabColorspace,exception); - TIFFGetProfiles(tiff,image,exception); + if (image_info->ping == MagickFalse) + TIFFGetProfiles(tiff,image,exception); TIFFGetProperties(tiff,image,exception); option=GetImageOption(image_info,"tiff:exif-properties"); if (IsStringFalse(option) == MagickFalse) /* enabled by default */