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.