in reply to images in PDF

I have not used them, but why not check out jpg2pdf or Text::PDF::API. It looks like the latter one does just what you want.

If they work for you please post back your findings here.