Is there there a way to generate PDF and add annotations that are created from the PDF Embed API?
Currently, we are using PDF Embed API to view pdf documents and allow users to add some annotations.
We store the annotation data into a database and we want to generate a new pdf with the annotations.
We can do this for one pdf document using PDF Embed API but we want to bulk generate new pdfs.
The reason for this use-case is we are allowing our users to download multiple pdf documents at one time.
So we need to do it from the server side without using the pdf embed viewer.
We cannot merge the annotations directly to the pdf document because we have a configuration to view original pdf and the version without the annotations, that is why we store the annotation data separately.
We can't store 2 versions of the pdf either because we allow only specific annotations from specific users to be included on the generated pdf.