pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-3844) Is there jpeg-compression of images?
Date Mon, 03 Jul 2017 06:02:00 GMT

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

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

I'm sorry, I didn't notice that you were the same person.

There is no jpeg compression from CMYK BufferedImage objects out of the box, i.e. java ImageIO
doesn't support it, and we don't have the skills, so that I'll have to close as "won't fix"
this time.

But have a look at https://github.com/haraldk/TwelveMonkeys/ , he mentions that "Extended
write support in progress" for "CMYK JPEGs". It's unclear if it is partially available or
not yet at all, there's an issue:
https://github.com/haraldk/TwelveMonkeys/issues/25

Besides that, you could also try ImageMagick through a java interface, e.g. http://im4java.sourceforge.net/
.

> 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


Mime
View raw message