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

index b627c1e17d778c4791a7e6d07dbf709b54c56019..72398b1aa97d2254bb7cf316b29558b11aa75a11 100644 (file)
@@ -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;