From 256906ddd1521854c84eb13d9b204fa6f55f709c Mon Sep 17 00:00:00 2001 From: cristy Date: Wed, 24 Dec 2014 18:47:44 +0000 Subject: [PATCH] --- coders/tiff.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coders/tiff.c b/coders/tiff.c index b627c1e17..72398b1aa 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1433,6 +1433,10 @@ RestoreMSCWarning if (image->compression == JPEGCompression) method=GetJpegMethod(image,tiff,photometric,bits_per_sample, samples_per_pixel); + if (image->compression == JBIGCompression) + method=ReadStripMethod; + if ((photometric != PHOTOMETRIC_SEPARATED) && + if (TIFFIsTiled(tiff) != MagickFalse) method=ReadTileMethod; quantum_info->endian=LSBEndian; -- 2.40.0