[
https://issues.apache.org/jira/browse/PDFBOX-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-993.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Assignee: Andreas Lehmkühler
I added the patch in revision 1088324 as proposed and added also one missing
setColor() within the text drawing section
Thanks for the contribution
> Image transparency lost when drawing an image (during pdf to image conversion)
> ------------------------------------------------------------------------------
>
> Key: PDFBOX-993
> URL: https://issues.apache.org/jira/browse/PDFBOX-993
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Jesse Eichar
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Labels: image, transparent
> Fix For: 1.6.0
>
> Attachments: after-fix.png, before-fix.png,
> drawImageTransparency.patch, image-transparency-and-text.patch,
> pdf-with-transparent-image.pdf
>
>
> My scenario is converting an existing PDF to an image. When the PDF contains
> an image with transparency the transparency is lost and the image is drawn at
> 100% opacity.
> This fix is related (and depends on) the issue:
> https://issues.apache.org/jira/browse/PDFBOX-975
> All that is needed is to set the composite of the graphics before drawing the
> image as specified in the graphics state (See attached patch)
> Note: line number in patch maybe off since it was created from 1.5.0 but
> after fixing 975.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira