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

Tilman Hausherr edited comment on PDFBOX-1990 at 3/20/14 8:26 PM:
------------------------------------------------------------------

I added a solution for extracting the alpha part of ARGB image, improved tests, 
some refactoring per DRY, in rev 1579729.

After implementing and testing it, I found out that it is apparently never used 
at all. Who knows, maybe in the future. There must be some reason that it was 
implemented before elsewhere (although it didn't work).


was (Author: tilman):
I added a solution for extracting the alpha part of ARGB image, improved tests, 
some refactoring per DRY, in rev 1579729.

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

Reply via email to