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/05/10 23:59:23 UTC

[jira] [Commented] (PDFBOX-2067) Error creating JPEG image with SMask

    [ 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)