From 0045bfb121165e9321364b92f2a4c01d185ab201 Mon Sep 17 00:00:00 2001 From: Llloooggg Date: Wed, 14 May 2025 01:04:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=83=D1=80=D0=BE=D0=B2=D0=B5=D0=BD=D1=8C=20?= =?UTF-8?q?=D1=81=D0=B6=D0=B0=D1=82=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F=20oxi?= =?UTF-8?q?png?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- image_compressor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_compressor.py b/image_compressor.py index 4f4cbc7..901d9a4 100644 --- a/image_compressor.py +++ b/image_compressor.py @@ -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,