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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to