[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 <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |pgajdos@novell.com |ovo.novell.com | -- 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#c1 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |suse@bugs.jan.ritzerfeld.ne | |t --- Comment #1 from Petr Gajdos <pgajdos@novell.com> 2010-06-22 15:14:29 UTC --- I hope I have the patch. Jan, could you please provide me with a testcase to ensure me that's correct? -- 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#c2 --- Comment #2 from Petr Gajdos <pgajdos@novell.com> 2010-06-22 16:42:23 UTC --- Or, you can test it yourself if you want (and I will appreciate it a lot). I have submitted fixed package to the graphics/ImageMagick repository of BuildService. -- 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#c3 --- Comment #3 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.net> 2010-06-22 19:27:34 UTC --- I tried ImageMagick-6.6.1.0-34.1.x86_64 and it still does not compress grayscale TIFF images with JPEG. Opensuse_1.jpeg.tif created by convert -compress jpeg Opensuse_1.tif Opensuse_1.jpeg.tif is 80 bytes bigger than Opensuse_1.tif. -- 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#c4 Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|suse@bugs.jan.ritzerfeld.ne | |t | --- Comment #4 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.net> 2010-06-22 19:29:17 UTC --- Created an attachment (id=370931) --> (http://bugzilla.novell.com/attachment.cgi?id=370931) Grayscale openSUSE logo TIFF -- 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#c5 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |suse@bugs.jan.ritzerfeld.ne | |t --- Comment #5 from Petr Gajdos <pgajdos@novell.com> 2010-06-23 07:35:36 UTC --- Hmm, it works for me: convert Opensuse_1.tif -format TIFF -compress jpeg -quality 70 Opensuse_1.grayscale.tif convert Opensuse_1.tif -colorspace rgb -depth 8 -fill "#ff0000" -draw "point 1,1" -format tiff -compress jpeg -quality 70 Opensuse_1.color.tif ls -l Opensuse* -rw-r--r-- 1 pgajdos users 3239 Jun 23 09:26 Opensuse_1.color.tif -rw-r--r-- 1 pgajdos users 1647 Jun 23 09:26 Opensuse_1.grayscale.tif -rw-r--r-- 1 pgajdos users 7300 Jun 23 08:57 Opensuse_1.tif For sure ... do you have also relevant Magick libraries installed? zypper se -s Magick | grep "^i" i | ImageMagick | package | 6.6.1.0-34.1 | ... i | libMagick++3 | package | 6.6.1.0-34.1 | ... i | libMagickCore3 | package | 6.6.1.0-34.1 | ... i | libMagickWand3 | package | 6.6.1.0-34.1 | ... Thanks! -- 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#c6 Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|suse@bugs.jan.ritzerfeld.ne | |t | --- Comment #6 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.net> 2010-06-23 17:28:07 UTC --- My fault! I only updated ImageMagick without the core. Now it works for me. Thanks for your quick fix! -- 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#c7 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #7 from Petr Gajdos <pgajdos@novell.com> 2010-06-24 06:18:09 UTC --- Jan, thanks to you for report. -- 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#c8 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Petr Gajdos <pgajdos@novell.com> 2010-06-24 06:18:30 UTC --- Closing as fixed. -- 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#c9 --- Comment #9 from Jan Ritzerfeld <suse@bugs.jan.ritzerfeld.net> 2010-07-28 20:35:20 UTC --- However, it is not fixed in 11.3 GM. I still need the packages mentioned in Comment 2! -- 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#c10 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #10 from Petr Gajdos <pgajdos@novell.com> 2010-07-29 07:01:55 UTC --- (In reply to comment #9)
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 <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #11 from Petr Gajdos <pgajdos@novell.com> 2010-07-29 07:04:54 UTC --- There are two possibilities: 1] let users use packages either from Factory or from graphics project, 2] do an update for 11.3. Which we will choose? -- 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#c12 --- Comment #12 from Marcus Meissner <meissner@novell.com> 2010-07-29 09:41:42 UTC --- is this a patch or a full new version? how large is the impact of the changes? -- 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#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.
http://bugzilla.novell.com/show_bug.cgi?id=615223 http://bugzilla.novell.com/show_bug.cgi?id=615223#c14 --- Comment #14 from Petr Gajdos <pgajdos@novell.com> 2010-07-29 12:26:49 UTC --- See home:pgajdos:branches:openSUSE:11.3:Update:Test/ImageMagick. -- 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#c15 --- Comment #15 from Marcus Meissner <meissner@novell.com> 2010-07-29 12:36:58 UTC --- simple enough... did you confirm it fixed with just thius patch? I am posirtive for an update +1 -- 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#c16 --- Comment #16 from Petr Gajdos <pgajdos@novell.com> 2010-07-29 12:54:29 UTC --- (In reply to comment #15)
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 <pgajdos@novell.com> 2010-07-29 12:54:49 UTC --- Can I get swmapid? -- 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 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- 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#c18 --- Comment #18 from Petr Gajdos <pgajdos@novell.com> 2010-07-29 12:57:32 UTC --- Note that I will update to new version in Factory soon. -- 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#c19 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:34867:low --- Comment #19 from Swamp Workflow Management <swamp@suse.com> 2010-07-29 15:46:54 UTC --- The SWAMPID for this issue is 34867. This issue was rated as low. Please submit fixed packages until 2010-08-26. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/34867 -- 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 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED CC| |cdengler@novell.com InfoProvider|maintenance@opensuse.org | -- 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#c20 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |cdengler@novell.com --- Comment #20 from Petr Gajdos <pgajdos@novell.com> 2010-07-30 08:12:33 UTC --- Ok thanks. Can be this bug closed? -- 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#c21 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|cdengler@novell.com | --- Comment #21 from Christian Dengler <cdengler@novell.com> 2010-08-02 11:07:21 UTC --- I wrote the missing patchinfo. Feel free to close it. Planned release date is in one week. -- 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#c22 Petr Gajdos <pgajdos@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #22 from Petr Gajdos <pgajdos@novell.com> 2010-08-02 11:14:28 UTC --- Thanks a lot to all. -- 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#c23 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:34867:low |maint:running:34867:low | |maint:released:11.3:34923 --- Comment #23 from Swamp Workflow Management <swamp@suse.com> 2010-08-09 11:51:27 UTC --- Update released for: ImageMagick, ImageMagick-debuginfo, ImageMagick-debugsource, ImageMagick-devel, ImageMagick-doc, ImageMagick-extra, ImageMagick-extra-debuginfo, libMagick++-devel, libMagick++3, libMagick++3-debuginfo, libMagickCore3, libMagickCore3-debuginfo, libMagickWand3, libMagickWand3-debuginfo, perl-PerlMagick, perl-PerlMagick-debuginfo Products: openSUSE 11.3 (debug, i586, x86_64) -- 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 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:34867:low |maint:released:11.3:34923 |maint:released:11.3:34923 | -- 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#c24 --- Comment #24 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (615223) was mentioned in https://build.opensuse.org/request/show/44190 11.3:Test / ImageMagick -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com