You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/10/07 21:23:34 UTC
[jira] [Closed] (PDFBOX-2398) Image transparency lost when convert
to an image
[ https://issues.apache.org/jira/browse/PDFBOX-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr closed PDFBOX-2398.
-----------------------------------
Resolution: Not a Problem
Sorry my previous comment was wrong, it works fine in 2.0. I probably got confused by a typo in the 2.0 source code and then forgot to test 2.0. Anyway, this won't be fixed in 1.8.*, but it is fixed in 2.0, so I am closing it as "not a problem" and will open a separate issue for the typo.
> Image transparency lost when convert to an image
> ------------------------------------------------
>
> Key: PDFBOX-2398
> URL: https://issues.apache.org/jira/browse/PDFBOX-2398
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 1.8.7
> Reporter: ccouturi
> Labels: Transparency
> Attachments: test.pdf, test.png
>
>
> I try to convert a pdf file with transparent images to a image but the opacity is lost in the png result.
> It's seem to be the same issue than https://issues.apache.org/jira/browse/PDFBOX-993 (fixed in 1.6.0).
> I test with code: (1.8.7)
> pdPage.convertToImage(BufferedImage.TYPE_4BYTE_ABGR, 72);
> and with:
> java -jar pdfbox-app-1.8.7.jar PDFToImage -imageType png test.pdf
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)