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())