ebooklib icon indicating copy to clipboard operation
ebooklib copied to clipboard

Way to increase compression rate

Open avalonv opened this issue 2 years ago • 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)

avalonv avatar Dec 09 '22 05:12 avalonv