Inspired from markdown2pdf I took a closer look at the reportlab module. With JPG2PDF you can create a pdf with selected jpegs. Don't forget to download the reportlab module! Many thanks to SpotlightKid.

Screenshot