aerkalov/ebooklib

Way to increase compression rate

avalonv opened this issue · 0 comments

Could you add an option to set the book's compression level? As of Python 3.7, the zipfile module offers the compresslevel argument, which can be used as such when creating files in the archive:

myzip.write(source, dest, zipfile.ZIP_DEFLATED, 9)