From: cristy Date: Wed, 24 Dec 2014 18:47:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1560 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=256906ddd1521854c84eb13d9b204fa6f55f709c;p=imagemagick --- 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;