]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 20 Aug 2010 18:35:17 +0000 (18:35 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 20 Aug 2010 18:35:17 +0000 (18:35 +0000)
coders/tiff.c

index 7768b7d2bd0e71018f4ef856ecf7aba3c65fd06c..8d82b02e78cf243c1be46f3a054c6a8f5ef47d05 100644 (file)
@@ -1138,9 +1138,6 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
     if ((photometric == PHOTOMETRIC_MINISBLACK) ||
         (photometric == PHOTOMETRIC_MINISWHITE))
       method=ReadSingleSampleMethod;
-    if ((photometric == PHOTOMETRIC_RGB) &&
-        (bits_per_sample <= 8))
-      method=ReadGenericMethod;
     if ((photometric != PHOTOMETRIC_SEPARATED) &&
         (interlace == PLANARCONFIG_SEPARATE))
       method=ReadGenericMethod;