http://www.perlmonks.org?node_id=796390


in reply to read text file and create pdf and add image to each pdf page

You may try PDF::Create