mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
webp default for lossy encoding is q=75
This commit is contained in:
parent
36203a7497
commit
c6c8fbeb64
@ -648,7 +648,7 @@ def encode_jpeg(file_path, quality=80):
|
||||
return run_optimizer(file_path, cmd, as_filter=True, input_data=ReadOnlyFileBuffer(ba.data()))
|
||||
|
||||
|
||||
def encode_webp(file_path, quality=70, m=6, metadata='all'):
|
||||
def encode_webp(file_path, quality=75, m=6, metadata='all'):
|
||||
return run_cwebp(file_path, False, quality, m, metadata)
|
||||
# }}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user