X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/c1000fe83b652dcd85b8fc57b60567e3d93aa5c9..3ff49a787a8fa5e6a7a7e6e72caf6579ceb2c0a2:/scripts/book2cover diff --git a/scripts/book2cover b/scripts/book2cover index 6cda7b3..758ab0e 100755 --- a/scripts/book2cover +++ b/scripts/book2cover @@ -14,11 +14,15 @@ class Book2Cover(Book2Anything): ext = "jpg" uses_cover = True cover_optional = False + transform_options = [ Option('-W', '--width', action='store', type='int', dest='width', default=None, help='Set width.'), Option('-H', '--height', action='store', type='int', dest='height', default=None, help='Set height.'), + Option('-l', '--with-logo', dest='with_logo', + action='store_true', default=False, + help='Add WL logo in white box.'), ] @staticmethod