]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 24 Dec 2014 22:14:24 +0000 (22:14 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 24 Dec 2014 22:14:24 +0000 (22:14 +0000)
coders/tiff.c

index 72398b1aa97d2254bb7cf316b29558b11aa75a11..028e12deb53a3016fea454f135af40f546863b38 100644 (file)
@@ -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) &&