fix: 0.8MB

This commit is contained in:
tcmofashi
2025-03-05 09:20:34 +08:00
parent dfdf25c8e4
commit d1ac1b0573

View File

@@ -246,7 +246,7 @@ class EmojiManager:
"""压缩图片并返回base64编码
Args:
image_path: 图片文件路径
target_size: 目标文件大小(字节),默认4MB
target_size: 目标文件大小(字节),默认0.8MB
Returns:
Optional[str]: 成功返回base64编码的图片数据失败返回None
"""