mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 04:31:05 +08:00
goooo
This commit is contained in:
parent
127f0f0ab4
commit
18df7d1a89
|
@ -36,7 +36,7 @@ def local_env_info() -> str:
|
||||||
return cache.getvalue()
|
return cache.getvalue()
|
||||||
|
|
||||||
def local_env_image() -> bytes:
|
def local_env_image() -> bytes:
|
||||||
img = Image.new("RGB", (800, 120), (255, 255, 255))
|
img = Image.new("RGB", (800, 140), (255, 255, 255))
|
||||||
# 往图片上写入一些信息
|
# 往图片上写入一些信息
|
||||||
draw = ImageDraw.Draw(img)
|
draw = ImageDraw.Draw(img)
|
||||||
font = ImageFont.truetype("./SMILEYSANS-OBLIQUE.TTF", size=25)
|
font = ImageFont.truetype("./SMILEYSANS-OBLIQUE.TTF", size=25)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user