mirror of
https://github.com/ChenXu233/nonebot_plugin_dialectlist.git
synced 2024-11-28 02:28:04 +08:00
⚡ 更改viewport加快图片渲染以及发送
This commit is contained in:
parent
9fb171ec1c
commit
6ba8ce9922
@ -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}},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user