Split PDF Files in main.js
Posted: Thu Dec 16, 2021 4:53 pm
Hi,
i'm just trying out the "new" way to code with NodeJS. Is there a way to split a pdf file in Javascript? The documentation gives me a PDF Class:
http://www.enfocus.com/manuals/Develope ... class.html
And i was able to build a little flow which outputs the filename and the pagenumber of the pdf-file to the messages website. Now i was wondering how can i split them in seperate files. For example the pdf has 12 sites then i would split 1, 2, 11, 12 in a seperate file. How can i achieve that?
i'm just trying out the "new" way to code with NodeJS. Is there a way to split a pdf file in Javascript? The documentation gives me a PDF Class:
http://www.enfocus.com/manuals/Develope ... class.html
And i was able to build a little flow which outputs the filename and the pagenumber of the pdf-file to the messages website. Now i was wondering how can i split them in seperate files. For example the pdf has 12 sites then i would split 1, 2, 11, 12 in a seperate file. How can i achieve that?