http://bugzilla.novell.com/show_bug.cgi?id=615223 http://bugzilla.novell.com/show_bug.cgi?id=615223#c13 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #13 from Petr Gajdos <pgajdos@novell.com> 2010-07-29 12:23:00 UTC --- (In reply to comment #12)
is this a patch or a full new version?
Not at all. The patch below shows that not setting compress_tag to COMPRESSION_NONE when the removed condition is true seems to be enough. --- ImageMagick-6.6.1-0.orig/coders/tiff.c +++ ImageMagick-6.6.1-0/coders/tiff.c @@ -2668,9 +2668,6 @@ static MagickBooleanType WriteTIFFImage( image->endian=MSBEndian; if ((int) (*(char *) &lsb_first) != 0) image->endian=LSBEndian; - if ((compress_tag == COMPRESSION_JPEG) && (photometric != PHOTOMETRIC_RGB)) - compress_tag=COMPRESSION_NONE; - else if ((compress_tag == COMPRESSION_CCITTFAX3) && (photometric != PHOTOMETRIC_MINISWHITE)) { -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.