Building a electron app using pdfium?

367 views
Skip to first unread message

DaZZlAck385

unread,
May 17, 2018, 4:48:15 AM5/17/18
to pdfium
Is it possible to build a electron desktopp application that uses pdfium as a library?

Ryan Harrison

unread,
May 17, 2018, 8:06:29 AM5/17/18
to DaZZlAck385, pdfium
Maybe. Is it easy? Depends on what parts of the PDF viewer from Chromium Electron contains and/or how easy it is to access native libraries from and app.

From briefly looking at the documentation, it sounds like they have a method for accessing the Flash plugin, so there might be access to the PDF viewer somewhere or at least an example to follow for implementing it. 

PDFium is native C/C++ library, so it isn't going to be trivial to access, at the minimum you with need some sort of FFI in JS to bridge into it. This likely a question better suited for an Electron dev forum.
-Ryan Harrison


On Thu, May 17, 2018, 04:48 'DaZZlAck385' via pdfium, <pdf...@googlegroups.com> wrote:
Is it possible to build a electron desktopp application that uses pdfium as a library?

--
You received this message because you are subscribed to the Google Groups "pdfium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfium+un...@googlegroups.com.
To post to this group, send email to pdf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfium/adca08cc-7ed8-4f24-945a-a2c528f2dc8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages