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 2017/06/30 09:01:00 UTC

[jira] [Commented] (PDFBOX-3844) Is there jpeg-compression of images?

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

Tilman Hausherr commented on PDFBOX-3844:
-----------------------------------------

Have a look at {{JPEGFactory}}, it allows both BufferedImages and streams. CMYK is not supported in 2.0.6, will be supported in 2.0.7 if you pass jpeg stream.

> Is there jpeg-compression of images?
> ------------------------------------
>
>                 Key: PDFBOX-3844
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3844
>             Project: PDFBox
>          Issue Type: New Feature
>            Reporter: Mikhail Semionenko
>         Attachments: Screen Shot 2017-06-30 at 12.16.02.png, Screen Shot 2017-06-30 at 15.39.45.png, Screen Shot 2017-06-30 at 15.47.46.png
>
>
> If you add large images in PDF, the resulting document becomes large. I've added about 80 images in size 2100x2100px in the document, and got about 400-500mb in the PDF file. 
> From the document analysis (attached screen shot from Acrobate Pro DC), you can see that zip / flate compression is used for added images. I would like to be able to compress images in a document using jpeg compression (something like industry-standard compression filters). Is there such an opportunity now? Can it be add in the future?
> P.S. RGB and CMYK images are used.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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