[
https://issues.apache.org/jira/browse/PDFBOX-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993982#comment-13993982
]
Tilman Hausherr commented on PDFBOX-2067:
-----------------------------------------
I added code to throw an exception for BITMASK transparency (see PDFBOX-2057)
because it makes no sense to encode a binary mask in jpeg. I moved
getAlphaImage() up one level because it is only used for jpeg; I optimized
getColorImage() with ColorConvertOp instead of an xy-loop. All in rev 1593630
for the trunk.
> Error creating JPEG image with SMask
> ------------------------------------
>
> Key: PDFBOX-2067
> URL: https://issues.apache.org/jira/browse/PDFBOX-2067
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Juraj Lonc
> Assignee: Tilman Hausherr
> Attachments: PDFBOX-2067_JPEGFactory.diff
>
>
> JPEGFactory.createFromImage() has problems with images with transparency
> (alpha data).
--
This message was sent by Atlassian JIRA
(v6.2#6252)