2 Commits

Author SHA1 Message Date
hackrobot
594bec0cb9 update 2024-07-21 14:43:10 +08:00
hackrobot
3ad4a2a58c update 2024-07-21 14:42:33 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -166,7 +166,9 @@ def generateqr(url="http://nomad.hackrobot.cn",
group_image.paste(qr_image, qr_position)
# 保存合成的图像
combined_image_path = f"images/combined_{wxid}_{datetime.now()}.jpg"
# combined_image_path = f"images/combined_{wxid}_{datetime.now()}.jpg"
combined_image_path = f"images/combined_{wxid}_{datetime.date.today()}.jpg"
group_image.save(combined_image_path)
# 压缩图片
group_image.save(combined_image_path, "JPEG",

BIN
test.db

Binary file not shown.