From 6505d95829ed6d30ece04b31709f7c52805a380b Mon Sep 17 00:00:00 2001 From: Feng4 Date: Tue, 9 Feb 2021 09:42:33 +0800 Subject: [PATCH] Update core.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决封面裁切过多。 --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.py b/core.py index 5dd1af7..04e8b5a 100755 --- a/core.py +++ b/core.py @@ -509,7 +509,7 @@ def cutImage(imagecut, path, number, c_word): imgSize = img.size w = img.width h = img.height - img2 = img.crop((w - h / 1.5, 0, w, h)) + img2 = img.crop((w / 1.9, 0, w, h)) img2.save(path + '/' + number + c_word + '-poster.jpg') print('[+]Image Cutted! ' + path + '/' + number + c_word + '-poster.jpg') except: