The podofo module in calibre has the ability to insert a page from one PDF file into another. So you create your image page using the functions in pdf/image_writer.py and then do the insert by creating two podofo PDFDoc objects and using the insert_existing_page method. See the add_cover function in pdf/html_writer.py for an example.
|