From b003d605c73ad154a8aa4ea84156973b75a07422 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 3 Mar 2025 15:43:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=88=86=E9=A1=B5=EF=BC=8C?= =?UTF-8?q?=E9=80=86=E5=BA=8F=E6=8E=92=E5=88=97=E5=B8=96=E5=AD=90?= 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 4d8ee6f..6e15bc1 100644 --- a/sehuatang/shehuatang.py +++ b/sehuatang/shehuatang.py @@ -145,7 +145,7 @@ def fetch_and_create_pdf(url): if image: img = PILImage.open(image) img_width, img_height = img.size - image_width = 500 + image_width = 700 image_height = int((img_height / img_width) * image_width) img_stream = BytesIO(image.getvalue()) content.append(Image(img_stream, width=image_width, height=image_height))