fix: 0.8MB

pull/54/head
tcmofashi 2025-03-05 09:20:34 +08:00
parent dfdf25c8e4
commit d1ac1b0573
1 changed files with 1 additions and 1 deletions

View File

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