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 2018/01/25 17:00:00 UTC

[jira] [Commented] (PDFBOX-4081) Image with JPXDecode filter not render perfectly

    [ https://issues.apache.org/jira/browse/PDFBOX-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339503#comment-16339503 ] 

Tilman Hausherr commented on PDFBOX-4081:
-----------------------------------------

This is a problem with the JP2 decoder, see PDFBOX-1819. Try this
 - with PDFDebugger save the image into PDFBOX-4081.jp2 (attached)
 - view it with your favourite viewer, see that it looks ok
 - read this image file with ImageIO
 - save it as png
 - cry when seeing the result.
 
 I'll reporting this on github later, but there's nothing we can do, except write our own decoder.

> Image with JPXDecode filter not render perfectly
> ------------------------------------------------
>
>                 Key: PDFBOX-4081
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4081
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.8
>            Reporter: savan patel
>            Priority: Major
>         Attachments: PDFBOX-4081.jp2, PDFBOX-4081.png, selection3.pdf
>
>
> There is a image in a pdf which has a JPXDecode filter applied on it and it is rendered badly...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org