View Single Post
Old 05-13-2016, 01:54 AM   #22
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: 44,006
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I had ten minutes, so I ported Generate Cover. Note I have only ported the code, not tested it (beyond that it runs). So someone that uses it should test it. Note that this plugin will not work with non-beta/older versions of calibre, as I lack the time/motivation to implement backward compatibility. If someone wants to implement backward comapatibilty the easiest way would be rename draw.py to draw2.py and conditionally import it based on calibre version.

EDIT : never mind, I implemented backwards compatibility as well
Attached Files
File Type: zip Generate Cover.zip (178.7 KB, 112 views)

Last edited by kovidgoyal; 05-13-2016 at 01:59 AM.
kovidgoyal is offline   Reply With Quote