View Single Post
Old 10-18-2017, 11:34 AM   #5
olin-shivers
Junior Member
olin-shivers began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2014
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
I dont see what's so hacky about it. But if you really want to run just the cover generator, do it like this.

Code:
calibre-debug -c "from calibre.ebooks.covers import *; open('cover.jpg', 'wb').write(create_cover('my title', ['my author'])))"

And you can set whatever preferences you like when using the create_cover function, see the sourcecode for details.
Just what I was seeking. Thanks very much.
olin-shivers is offline   Reply With Quote