[
https://issues.apache.org/jira/browse/PDFBOX-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876219#action_12876219
]
Neil McErlean edited comment on PDFBOX-513 at 6/8/10 6:31 AM:
--------------------------------------------------------------
Hi all,
I've been trying to get this to work too. In the meantime, here's a sample pdf
that reproduces that issue (About Stacks.pdf).
The pdf is a single page with 5 embedded images. The images are rendered with
black boxes as backgrounds instead of the correct (masked) transparency.
If you look at the pdf file itself, you'll see that Indirect Object 6 0 defines
5 Image XObjects. The first one is "Im2" which is Indirect Object 9 0.
Ind .Obj 9 0 is an image which has a stream of image content (Jpeg, I think).
It also defines a ColorSpace (I.O. 17 0. ICCBased with 3 colour components) and
an SMask field, which points to another image object (25 0) and it is this
image which is the soft mask data i.e. the transparency data.
This pattern is repeated for each image in the document. i.e. each image has an
associated mask image.
was (Author: neilm):
Hi all,
I've been trying to get this to work too. In the meantime, here's a sample pdf
that reproduces that issue (About Stacks.pdf).
If you look at the pdf file itself, you'll see that Indirect Object 6 0 defines
5 Image XObjects. The first one is "Im2" which is Indirect Object 9 0.
Ind .Obj 9 0 is an image which has a stream of image content (Jpeg, I think).
It also defines a ColorSpace (I.O. 17 0. ICCBased with 3 colour components) and
an SMask field, which points to another image object (25 0) and it is this
image which is the soft mask data i.e. the transparency data.
This pattern is repeated for each image in the document. i.e. each image has an
associated mask image.
> PDJpeg does not support transparency/alpha
> ------------------------------------------
>
> Key: PDFBOX-513
> URL: https://issues.apache.org/jira/browse/PDFBOX-513
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 0.8.0-incubator
> Environment: Any
> Reporter: Yonas Jongkind
> Attachments: About Stacks.pdf, PDJpeg.java
>
>
> The code does not handle this feature. Patch attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.