Open theoryshaw opened 8 years ago
There is also https://www.npmjs.com/package/pdf2json and https://www.npmjs.com/package/pdf for converting PDFs to json (for canvas) or to images. Would need to look into benefits/drawbacks. Would probably be worth testing the libraries to see if there are any gotchas.
I like that pdf2json taps into pdf.js--a project with a lot of momentum behind, it seems.
Ran across this too: https://github.com/mooz/node-pdf-image
Would there be a relatively easy way to use something like Ghostscript and/or ImageMagick to convert an uploaded (or drag and dropped) PDF to a background raster image?