-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Basic PDF support #35
Comments
I can take this. |
Sure thing, just assigned you. Thanks! |
I think this is promising: https://github.com/ajrcarey/pdfium-render Depending on how fast of an operation it is to convert a PDF page to a bitmap, that could potentially work for streaming PDF pages. However, that library would easily allow for converting PDF to archive formats I think (also very great) at the very least. Static compilation might be tricky, but there is an entire section for that in their README This is probably a good start to look for the interface: https://github.com/wojtekmaj/react-pdf |
Agreed, I would like to create a general design spec for this first though, making sure every file format has the same methods so interfacing and documentation become easier if that makes sense. |
Sounds good! |
Mostly completed this today 🎊 per-page streaming as well as the option to use your browser's native PDF viewer are both available now in my feature branch The only thing left at this point is to update the Dockerfile to pull in the PDF dependency. |
Resolved by #158. I am deploying updated docs to reflect PDF support, but should eventually make a note about PDFium being used |
The server needs to be able to: process, properly handle and serve PDF files. This issue is for basic support, page streaming support will either roll out separately or, depending on how the rest of the below goes, at the same time.
Core Tasks:
Interface Tasks:
The text was updated successfully, but these errors were encountered: