Create PDF files from images structured in folders

Source code

The name says it all, but to exemplify, if you select the parent folder "Documents scans", from the following structure

you will end up with the PDF files (and pages (in the same order)) below