feat(plugins): 调整天气图片渲染尺寸

This commit is contained in:
baby-2016
2026-02-28 21:17:43 +08:00
parent b5e08833e0
commit c6f037a947
2 changed files with 3 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ async def handle_weather(bot, event: MessageEvent, args: List[str]):
try:
# 渲染HTML模板为图片
base64_image = await image_manager.render_template_to_base64(
"weather.html", weather_info, output_name="weather.png"
"weather.html", weather_info, output_name="weather.png", width=1080
)
if base64_image: