Quote:
Originally Posted by kovidgoyal
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.
|
Kovid-
One more question: can you tell me how to make this code cause SVG output?
-Olin