[ https://issues.apache.org/jira/browse/PDFBOX-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568108#comment-16568108
]
Alexandre Moraes do Nasciment commented on PDFBOX-4285:
-------------------------------------------------------
Yes... i think that this approach would solve and make the tiff output more flexible.
I´ve tested using jpeg compression as default, and an image decreased from 11Mb to 2.5Mb
and same quality.
Thanks.
> Expose the tiff compression type to the user.
> ---------------------------------------------
>
> Key: PDFBOX-4285
> URL: https://issues.apache.org/jira/browse/PDFBOX-4285
> Project: PDFBox
> Issue Type: Improvement
> Components: Writing
> Affects Versions: 2.0.11
> Reporter: Alexandre Moraes do Nasciment
> Priority: Major
> Labels: TIFF
>
> Allow the user to set the compression type of Tiff files externally.
> In the current version, the class ImageIOUtil uses TIFFUtil.setCompressionType and this
sets the compression only to "CCITT T.6" or "LZW".
> Other choice could be allow the jpeg compression that is more efficient.
> It already has a TODO in code (// TODO expose this choice to the user?)
> Thank you.
--
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
|