From c51145efe02a1e4f330b98119b00c21bdae209c4 Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 14 Feb 2012 00:45:06 +0000 Subject: [PATCH] --- coders/tiff.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/coders/tiff.c b/coders/tiff.c index c29b1cc3e..096349084 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -1223,8 +1223,6 @@ static Image *ReadTIFFImage(const ImageInfo *image_info, if ((photometric != PHOTOMETRIC_SEPARATED) && (interlace == PLANARCONFIG_SEPARATE) && (bits_per_sample < 64)) method=ReadGenericMethod; - if (image->compression == JPEGCompression) - method=ReadGenericMethod; if (TIFFIsTiled(tiff) != MagickFalse) method=ReadTileMethod; quantum_info->endian=LSBEndian; @@ -2767,12 +2765,6 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info, } } #endif - if ((image->colorspace == CMYKColorspace) && - (compress_tag != COMPRESSION_JPEG)) - { - compress_tag=COMPRESSION_NONE; - compression=NoCompression; - } switch (compression) { case FaxCompression: -- 2.50.1