mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-06-30 20:13:32 +00:00
🔥 删除无用代码
This commit is contained in:
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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user