#14578 closed defect (fixed)
ImageMagick: Fix alpha channel bug in PDF generation and upgrade to 6.3.9-2
Reported by: | ghosthound | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description
Attached file fixes a bug when an image has an alpha channel and is converted to PDF. Attached patch (for Portfile) applies said file and uprevs to 6.3.9-2.
Attachments (2)
Change History (9)
Changed 17 years ago by ghosthound
Attachment: | patch-coders-pdf.c.diff added |
---|
Changed 17 years ago by ghosthound
Attachment: | patch_im.20080306.2321 added |
---|
patch to graphics/ImageMagick Portfile to apply alpha-channel fix and uprev to 6.3.9-2
comment:1 Changed 17 years ago by ghosthound
Owner: | changed from macports-tickets@… to ryandesign@… |
---|
comment:2 follow-up: 4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | → Port Bugs |
---|
Where did this patch come from? Is there an upstream bugreport for this already?
comment:3 Changed 17 years ago by raimue (Rainer Müller)
Summary: | Fix alpha channel bug in PDF generation and upgrade to 6.3.9-2 → ImageMagick: Fix alpha channel bug in PDF generation and upgrade to 6.3.9-2 |
---|
comment:4 Changed 17 years ago by ghosthound
Replying to ryandesign@macports.org:
Where did this patch come from? Is there an upstream bugreport for this already?
I made the patch after walking through the coders/pdf.c to see where it writes out the SMask reference information and (reasonably carefully) counting new object outputs from there until the alpha channel information is written. I believe the patch is correct, though having another set of eyes on it would be all good. Upstream has a bug for this, see <http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=9202>.
comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I updated ImageMagick to 6.3.9-5 in r34972 which I believe includes this fix. Please reopen this ticket if you still experience the issue with that version.
comment:6 Changed 17 years ago by ghosthound
Indeed, it appears that 6.3.9-5 fixes this problem, thanks much!
patchfile to fix bug in alpha channel usage when converting image to pdf.