Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here
Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron
Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here
Can you provide the URL you are using for this document?
Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron
Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here
After converting the response to a blob it worked.
Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron
Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here
Apologies for the late reply, we have been experimenting to see if we could get this large XFDF to merge in the API. I think the limitation of the HTTP size results in this merge to be impossible. I tried posting the XFDF to a secret GitHub gist and fetching it, then fetching the file, then putting those blobs into the merge API however it still resulted in a 413 error.
I think the workaround here would be to export the annotations in chunks, say you have 10000 annotations, you would export 1000 at a time, then make multiple calls to merge them.
I have attached the code I have been testing with, that includes the XFDF GitHub gist link index 2.js.zip (1.1 KB)
Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron
Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here
You PDF.js Express team could do for xfdf as you already do for the file process. For example, for xfdf larger than 5.5mb, it would send the xfdf via URL.
We don’t currently have this on our roadmap but we will add it to the backlog for our product team to review.
Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron
Share how you are using PDF.js Express in your organization you could win a $500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free. Learn more here