Is it possible to split a PDF file into several pages using client-side javascript

I have a use case when users can download a multi-page PDF file.

I want to show a preview of each page separately at boot time. One way is that I can send the file to the server and split and send it to the client side for preview, but I do not want to do this.

Is there a way to split the client-side PDF using JavaScript (no server API calls).

If so, how and if not, then why is this impossible?

Thanks in advance.

+4
source share

No one has answered this question yet.

Source: https://habr.com/ru/post/1657737/


All Articles