Generate and control size of a PDF file with JS

0

Good evening guys!

I wanted to know how do I work with PDF via javascript!

My idea is relatively simple:

I want the user to upload images that will generate a PDF, and if the PDF is more than 5MB, it will split the PDF.

Imagine that the user uploaded 100 images that would generate a 15MB PDF. In case the algorithm would generate 3 PDFs with 5MB each.

Does anyone have any idea where I should start?

    
asked by anonymous 06.11.2018 / 01:14

0 answers