From: Cristy Date: Wed, 30 Dec 2015 15:17:39 +0000 (-0500) Subject: TIFF Group4 compression requires an image depth of 1 X-Git-Tag: 7.0.1-0~388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3cb17ec22660447ea2193b34dcffba386781302d;p=imagemagick TIFF Group4 compression requires an image depth of 1 --- diff --git a/coders/tiff.c b/coders/tiff.c index e2dfcee36..8a854202c 100755 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -3194,6 +3194,7 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info, case Group4Compression: { (void) SetImageType(image,BilevelType,exception); + (void) SetImageDepth(image,1,exception); break; } case JPEGCompression: