pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: How to Use Optimizes Mesource Mode at org.apache.pdfbox.multipdf.PDFMergerUtility
Date Thu, 17 Jan 2019 07:41:16 GMT
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


Mime
View raw message