View Single Post
Old 10-13-2022, 11:11 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There isnt. If you want to generate covers on the command line, generate them before hand and pass them to the conversion using --cover

A bit of googling should find the calibre-debug command you can use for generating covers, something like

Code:
calibre-debug -c "from calibre.ebooks.covers import *; d = create_cover('my title', 'my authors', 'my series', 'my series index'); open('/tmp/cover.jpg', 'wb').write(d)"
kovidgoyal is offline   Reply With Quote