From 3cb17ec22660447ea2193b34dcffba386781302d Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 30 Dec 2015 10:17:39 -0500 Subject: [PATCH] TIFF Group4 compression requires an image depth of 1 --- coders/tiff.c | 1 + 1 file changed, 1 insertion(+) 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: -- 2.40.0