I'm looking for something that would let me create ebooks containing high-resolution pictures from the command-line. 

The reason I'm looking for cli is so the process can be scripted. 

EDIT: The goal is to create an epub and the source are text and images, think picture book, just with more text.