🔥 删除无用代码

This commit is contained in:
KimigaiiWuyi 2025-04-06 20:12:25 +08:00
parent 9fa322c662
commit 209154b0d4
3 changed files with 0 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

View File

@ -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