Thanks, that does help.  Having an example means I'll find the relevant classes to use MUCH faster.

On 10/5/2023 3:07 PM, Pados Attila wrote:
I am using something like this:

PDDocument a1doc = Loader.loadPDF(new
RandomAccessReadBuffer(resourceAsStream), () -> new
ScratchFile(MemoryUsageSetting.setupMixed(100)));

(I use it with tempFileOnly, but the rest are the same)

On Thu, Oct 5, 2023 at 9:50 PM John Lussmyer <cou...@casadelgato.com> wrote:
I'm trying to update to the latest PDFBox 3.0.0.
The code was using a call to
loadPDF(file,MemoryUsageSetting.setupMixed(MB100); // 100 MB

I see that that no longer exists, but the only mention of it doesn't
seem to provide any info on how to configure an equivalent replacement?

Any suggestions?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to