A non-linearized PDF can be written entirely as a stream – keeping nothing in memory. You would simply need to find a PDF library that offers that functionality.
Leonard From: poppler <[email protected]> on behalf of Ionut Cosmin Mihai <[email protected]> Date: Friday, October 13, 2023 at 1:36 PM To: [email protected] <[email protected]> Subject: [poppler] Writing PDF with limited memory EXTERNAL: Use caution when clicking on links or opening attachments. Hello, I'm trying to choose between poppler and libharu and I can't figure out if there is a way to use poppler to write a pdf without keeping the whole pdf document in memory. For example if writing a set of images into a pdf, the document can become very large and not holding it into memory would be very useful. Thank you!
