From be27e440c7c4ffde151884b9f99814a368460c83 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 3 Mar 2025 15:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=89=B2=E8=8A=B1=E5=A0=82PD?= =?UTF-8?q?F=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sehuatang/shehuatang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sehuatang/shehuatang.py b/sehuatang/shehuatang.py index 82d5415..7165bd0 100644 --- a/sehuatang/shehuatang.py +++ b/sehuatang/shehuatang.py @@ -169,7 +169,7 @@ def fetch_and_create_pdf(url): if image: img = PILImage.open(image) img_width, img_height = img.size - image_width = 400 # 固定宽度 + image_width = 500 # 固定宽度 image_height = int((img_height / img_width) * image_width) img_stream = BytesIO(image.getvalue())