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/03/17 19:43:43 UTC

[jira] [Comment Edited] (PDFBOX-1990) Support creating PDF from lossless encoded images

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

Tilman Hausherr edited comment on PDFBOX-1990 at 3/17/14 6:43 PM:
------------------------------------------------------------------

Done in rev 1578489 and 1578492 and 1578503 and 1578505. I also added a NullOutputStream.


was (Author: tilman):
Done in rev 1578489 and 1578492 and 1578503. I also added a NullOutputStream.

> Support creating PDF from lossless encoded images
> -------------------------------------------------
>
>                 Key: PDFBOX-1990
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1990
>             Project: PDFBox
>          Issue Type: Improvement
>            Reporter: Tilman Hausherr
>            Priority: Minor
>
> Currently we support the insertion of TIFF and JPEG into a PDF, but not PNG. We can pass a BufferedImage, but this one will be JPEG compressed which is not a good thing for graphics with sharp edges. I suggest that we support PNG as well. It is possible because the Flate Filter supports both directions.
> My implementation (coming in a few minutes) is just an RGB based start that begs for improvement.



--
This message was sent by Atlassian JIRA
(v6.2#6252)