I just want to convert a pdf file to a folder that include text/json, image, fonts, and render them in browser By myself.
Are there relevant solutions?
There is https://github.com/mozilla/pdf.js/blob/master/examples/node/pdf2svg.js . Closing as answered.
Hi @yurydelendik , thanks for the link you shared, but i noticed that the script just converts each page of the pdf to an svg, how about one that extracts the images from all the pages, something like what this does.
Hi @zeddysoft , I am looking for a way to extract images from a pdf page too. Have you found something ?
Yes i have
Haha nice, and can you share it ? :) Because i tried many things... but everything failed x)
You can find it here
https://github.com/zeddysoft/pdf-processor/blob/master/handler.js
Don't forget to star the repo :)
Thank you, i will check that ! And i won't forget the star ;)
Hi @zeddysoft Could you explain how to use that repo
Most helpful comment
You can find it here
https://github.com/zeddysoft/pdf-processor/blob/master/handler.js
Don't forget to star the repo :)