更改viewport加快图片渲染以及发送

This commit is contained in:
Chen_Xu233 2024-07-28 09:34:55 +08:00
parent 9fb171ec1c
commit 6ba8ce9922

View File

@ -187,5 +187,5 @@ async def get_rank_image(rank: List[UserRankInfo]) -> bytes:
"cache_path": cache_path,
"file_path": os.path.dirname(os.path.abspath(__file__)),
},
pages={"viewport": {"width": 1200, "height": 10}},
pages={"viewport": {"width": 1100, "height": 10}},
)