Create a PDF from a image gallery