From: cristy Date: Wed, 24 Dec 2014 22:14:24 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1558 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afe7581fbc12f9fbdf19dcc4a7945908f0e4eb57;p=imagemagick --- diff --git a/coders/tiff.c b/coders/tiff.c index 72398b1aa..028e12deb 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1433,7 +1433,7 @@ RestoreMSCWarning if (image->compression == JPEGCompression) method=GetJpegMethod(image,tiff,photometric,bits_per_sample, samples_per_pixel); - if (image->compression == JBIGCompression) + if (compress_tag == COMPRESSION_JBIG) method=ReadStripMethod; if ((photometric != PHOTOMETRIC_SEPARATED) &&