mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-07 20:45:57 +08:00
🔥 删除无用代码
This commit is contained in:
parent
9fa322c662
commit
209154b0d4
Binary file not shown.
Before Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
Before Width: | Height: | Size: 25 KiB |
@ -562,11 +562,9 @@ async def draw_bg(w: int, h: int):
|
||||
fg = crop_center_img(Image.open(TEXT_PATH / 'fg.png'), w, h)
|
||||
|
||||
_fg.paste(fg, (0, 0), fg_temp)
|
||||
_fg.save('fg.png')
|
||||
|
||||
bg = Image.alpha_composite(bg, _fg)
|
||||
bg.paste(line, (0, 222), line)
|
||||
bg.save('bg.png')
|
||||
return bg
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user