You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Agus Ramdan <ag...@gmail.com> on 2019/01/17 06:30:45 UTC
How to Use Optimizes Mesource Mode at org.apache.pdfbox.multipdf.PDFMergerUtility
Dear All,
I has been read documentation (java doc see below) about Optimizes
Mesource Mode.
-----
The mode to use when merging documents:
PDFMergerUtility.DocumentMergeMode.OPTIMIZE_RESOURCES_MODE Optimizes
resource handling such as closing documents early.
-----
But I do not have idea for use it?
Regards,
Agus Ramdan
ref:
https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/multipdf/PDFMergerUtility.html
Re: How to Use Optimizes Mesource Mode at
org.apache.pdfbox.multipdf.PDFMergerUtility
Posted by Tilman Hausherr <TH...@t-online.de>.
Am 17.01.2019 um 07:30 schrieb Agus Ramdan:
> Dear All,
>
> I has been read documentation (java doc see below) about Optimizes
> Mesource Mode.
> -----
> The mode to use when merging documents:
> PDFMergerUtility.DocumentMergeMode.OPTIMIZE_RESOURCES_MODE Optimizes
> resource handling such as closing documents early.
> -----
>
> But I do not have idea for use it?
The use case is if you want to save memory. For example if you merge
many files, or if you merge several huge files.
See the discussion here:
https://issues.apache.org/jira/browse/PDFBOX-4188
https://issues.apache.org/jira/browse/PDFBOX-4182
If you don't need to save memory then use the classic mode, which is the
default.
Tilman
>
> Regards,
> Agus Ramdan
>
> ref:
> https://pdfbox.apache.org/docs/2.0.13/javadocs/org/apache/pdfbox/multipdf/PDFMergerUtility.html
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org