Replies: 1 comment
|
Hi! No, this is not supported. react-pdf only generates new PDF documents. It cannot parse an existing PDF file, so there is no way to add uploaded PDFs directly into your generated document. Two common workarounds:
Closing this one since embedding existing PDFs is out of scope for this library. Thanks! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey there,
I am using react-pdf/renderer to generate pdfs with some Images as attachements which I fetch from my server. This works flawlessly. I would like to add previously uploaded pdfs aswell but did not have any luck with it. Is there anything i missed in the documentation? My take would be to convert the pdfs to images first which seems way too hacky.
Help is much appreciated!
Cheers!
All reactions