Исправлен уровень сжатия для oxipng

This commit is contained in:
2025-05-14 01:04:46 +03:00
parent acbcc4474b
commit 0045bfb121

View File

@@ -78,7 +78,7 @@ def compress_with_external(path: str, ext: str) -> bool:
try: try:
if ext == ".png": if ext == ".png":
tool = get_tool_path("oxipng.exe") tool = get_tool_path("oxipng.exe")
for compression_level in range(1, 8): for compression_level in range(1, 6):
subprocess.run( subprocess.run(
[ [
tool, tool,