QuestPDF / QuestPDF

QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.
https://www.questpdf.com
Other
11.95k stars 630 forks source link

Load Pdf file from byte array/stream #899

Open MasterIPI opened 5 months ago

MasterIPI commented 5 months ago

Just a feature request/question

Is there any plans on adding functionality of creating pdf "Document" from a byte array/stream of existing pdf file?

It would be great if we could get already existing pdf files as byte arrays/streams and then merge with the generated file or just merge existing pdf files.

rima1098 commented 5 months ago

Have a look at https://www.pdfsharp.net/. It is possible to merge PDFs with this tool and might be sufficient for your needs

HakamFostok commented 5 months ago

Document.Merge would really be helpful if we could merge already existing files in the Disk. Right now merging documents will work for documents created by the code only. Hope to see this feature.

MasterIPI commented 5 months ago

Have a look at https://www.pdfsharp.net/. It is possible to merge PDFs with this tool and might be sufficient for your needs

I know about this library and currently we are using IronPdf, but we have a request to move from that to something else, to find out if some other library works faster that IronPdf and without drops in performance if run within docker linux container.

HakamFostok commented 5 months ago

No, no, my situation was much simpler, I just wanted to combine a couple of pdfs files in one, locally on my machine, that is it. I switched to pdfSharp and it solved my problem completely. Thanks a lot