Convert jpg to png for pdf generation
Merge pull request #5 from martinqt/fix_jpg

Convert jpg to png for pdf generation