mirror of
https://github.com/Murasame-Dev/McStatus-Img.git
synced 2025-12-16 05:07:57 +00:00
fix
This commit is contained in:
parent
f19a354c5d
commit
e89c0ae147
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ def create_image(background: bytes,
|
|||
small_image = Image.open(BytesIO(icon)).resize((small_size, small_size),
|
||||
Image.Resampling.LANCZOS)
|
||||
|
||||
image.paste(small_image, (int(width / 2.6 - small_size / 2), int(height / 2 - small_size / 2)))
|
||||
image.paste(small_image, (int(width / 2.6 - small_size), int(height / 2 - small_size / 2)))
|
||||
|
||||
# 设置字体
|
||||
if font_url == None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue