You've already forked ImageCompressor
mirror of
https://github.com/Llloooggg/ImageCompressor.git
synced 2026-03-06 03:26:23 +03:00
Исправлен уровень сжатия для oxipng
This commit is contained in:
@@ -78,7 +78,7 @@ def compress_with_external(path: str, ext: str) -> bool:
|
||||
try:
|
||||
if ext == ".png":
|
||||
tool = get_tool_path("oxipng.exe")
|
||||
for compression_level in range(1, 8):
|
||||
for compression_level in range(1, 6):
|
||||
subprocess.run(
|
||||
[
|
||||
tool,
|
||||
|
||||
Reference in New Issue
Block a user