[Bug 615223] New: ImageMagick cannot compress grayscale TIFF images with JPEG
http://bugzilla.novell.com/show_bug.cgi?id=615223 http://bugzilla.novell.com/show_bug.cgi?id=615223#c0 Summary: ImageMagick cannot compress grayscale TIFF images with JPEG Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: suse@bugs.jan.ritzerfeld.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; de) Presto/2.5.29 Version/10.60 ImageMagick-6.6.1-0 cannot compress grayscale TIFF images with JPEG. This seems to be fixed since ImageMagick-6.6.1-5: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16064#p58060 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c
yang xiaoyu
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c1
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c2
--- Comment #2 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c3
--- Comment #3 from Jan Ritzerfeld
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c4
Jan Ritzerfeld
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c5
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c6
Jan Ritzerfeld
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c7
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c8
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c9
--- Comment #9 from Jan Ritzerfeld
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c10
Petr Gajdos
However, it is not fixed in 11.3 GM. I still need the packages mentioned in Comment 2!
That means it was too late to accept this fix into 11.3. But it is in Factory yet. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c11
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c12
--- Comment #12 from Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c13
Petr Gajdos
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.
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c14
--- Comment #14 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c15
--- Comment #15 from Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c16
--- Comment #16 from Petr Gajdos
simple enough... did you confirm it fixed with just thius patch?
Do you mean if I tested it? Yes.
I am posirtive for an update +1
Request #44190: submit: home:pgajdos:branches:openSUSE:11.3:Update:Test/ImageMagick(r2)(cleanup) -> openSUSE:11.3:Update:Test/ImageMagick Message: - fixed jpeg compression of grayscale tif format [bnc#615223] State: new 2010-07-29T14:53:00 pgajdos Comment: None -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c17
--- Comment #17 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c18
--- Comment #18 from Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c19
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c
Christian Dengler
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c20
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c21
Christian Dengler
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c22
Petr Gajdos
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c23
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=615223
http://bugzilla.novell.com/show_bug.cgi?id=615223#c24
--- Comment #24 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com