From e333df87b430251cf71f5b1f53a8211b63abdcc6 Mon Sep 17 00:00:00 2001 From: "yi.cheng" Date: Mon, 6 Nov 2023 14:39:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E6=B5=8B=E7=9A=84?= =?UTF-8?q?=E6=9C=80=E5=B0=8F=E5=B0=BA=E5=AF=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check_compress_psd.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/check_compress_psd.py b/check_compress_psd.py index 02763b5..008fcee 100644 --- a/check_compress_psd.py +++ b/check_compress_psd.py @@ -61,10 +61,10 @@ def parse_psd(path): break if is_activity_main_psd: - if max_width < 1080: - log.append("玩法活动背景过小,宽度不能小于1080") - if max_height < 2700: - log.append("玩法活动背景过小,高度不能小于2700") + if max_width < 1024: + log.append("玩法活动背景过小,宽度不能小于1024") + if max_height < 2560: + log.append("玩法活动背景过小,高度不能小于2560") for item in psd.descendants(): if not item.is_group():