pdfium-wasm icon indicating copy to clipboard operation
pdfium-wasm copied to clipboard

Use without node.js

Open msprengholz opened this issue 6 years ago • 2 comments

Just found your project, looks dope! I tried compiling muPDF via emscripten but got stuck with all those dependencies. Seems like you got it figured out. I was wondering though if you could use pdfium-wasm without node.js. What are the current limitations on that? I guess it has something to do with the file system?

msprengholz avatar Jul 27 '18 13:07 msprengholz

Thanks!

Should be possible to run in a browser, though the current version still can't render PDF pages - only load PDF files and return meta data such as the count of pages.

urish avatar Jul 28 '18 21:07 urish

pdfium.js was able to successfully compile pdfium with emscripten and render pages in browser. May be worth looking at that project to see how it works. It looks like your build is structured better and more comprehensive.

amit777 avatar Mar 10 '19 23:03 amit777