Is there a way in JavaScript to generate a downloadable PDF or any other file that can contain images and text? I am working on a strange project that requires this functionality. The JavaScript is embedded in a locally stored webpage, I have complete control over the user's environment. Is there a way to somehow run local processes with JavaScript if I configure local security settings one way or another? Anyways, the reason I ask is as follows, here is my project and where I am sort of hung up on...
I have a script that walks a filesystem on a partition that a user selects when they run the script. The script then takes the list of all files and generates thumbnail files of all image files found from the filesystem walk. These thumbnails are then generated into an HTML page which is then opened by the script in firefox. I have JavaScript in the page generated by the script that allows the user to check and uncheck checkboxes next to each thumbnail. The goal being that once the user selects all of the images they are interested in, they can press a button to generate a report of the images they selected. I am not sure how to generate said report. I saw a question similar to mine answered with jsPDF but i'm not sure if that's the best solution for my situation? I am just looking for ideas and suggestions! I am open to learning other scripting methods if need be. A server side solution could be considered, but I would like to stay away from any local servers, etc etc (like PHP and stuff.).