From 067fde116cb037d992cefccd524e79dee8b91c04 Mon Sep 17 00:00:00 2001 From: KimigaiiWuyi <444835641@qq.com> Date: Fri, 20 Oct 2023 04:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20=E6=9B=B4=E6=96=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- gsuid_core/utils/image/convert.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9d54cf0..a800419 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [KimigaiiWuyi/GenshinUID](https://github.com/KimigaiiWuyi/GenshinUID) 的核心部分,平台无关,支持 HTTP/WS 形式调用,便于移植到其他平台以及框架。 -**🎉[详细文档](https://docs.gsuid.gbots.work/#/)** +**🎉[详细文档](https://docs.sayu-bot.com)** ## 安装Core diff --git a/gsuid_core/utils/image/convert.py b/gsuid_core/utils/image/convert.py index 4c9f9ab..124a503 100644 --- a/gsuid_core/utils/image/convert.py +++ b/gsuid_core/utils/image/convert.py @@ -45,7 +45,7 @@ async def convert_img( if isinstance(img, Image.Image): img = img.convert('RGB') result_buffer = BytesIO() - img.save(result_buffer, format='JPEG', quality=85) + img.save(result_buffer, format='JPEG', quality=90) res = result_buffer.getvalue() if is_base64: res = 'base64://' + b64encode(res).decode()