[poppler] How to "pdfunite" in memory...?

Oliver Sander oliver.sander at tu-dresden.de
Sat Jul 17 18:43:25 UTC 2021


> I do not understand well your question. But I know that a pdf document contains pages.
> 
> I have pdf documents in memory (read from a database) and I need to merge these documents in memory to write them back in a database...

You need to give a few more details about what you mean by "I have pdf documents in memory".
Does that mean that you simply copied the file content to some allocated memory?  Or have
you opened these pdf files using poppler (using code like in poppler/qt5/demos)?

You need to do the latter to solve your problem.  Open the files using poppler,
and then copy code that unites them from pdfunite.cc (licences permitting).

Best,
Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5198 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20210717/7d3610f7/attachment.bin>


More information about the poppler mailing list