Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ditch PDF Assembler and use PDF.js directly #2

Open
mrtcode opened this issue Jan 29, 2021 · 1 comment
Open

Ditch PDF Assembler and use PDF.js directly #2

mrtcode opened this issue Jan 29, 2021 · 1 comment

Comments

@mrtcode
Copy link
Member

mrtcode commented Jan 29, 2021

PDF.js recently added a support for saving AcroForms annotations, and this serves as a very good example how to implement a basic append based PDF writing.

Append based writing fits probably better in our case as it's less invasive on PDF structure especially because annotations writing/deleting/modifying is relatively basic operation.

Therefore PDF Assembler becomes a useless intermediary that has to be maintained and reduces performance for this specific annotations-related use case. It also doesn't support encryption.

@chriscz
Copy link

chriscz commented Dec 3, 2023

Would this migration still support annotations made in other programs?

Suppose I created a single sample PDF with some text and images and then annotated this PDF using a variety of apps across several platforms like Android, Apple, iOS, Linux, Web, and Windows. These files could then be used to develop support for parsing a broad range of annotations. Do you think such a data sample would be useful, and maybe best submitted to pdfjs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants