fix: Fixed an error when drawing share area in dynamic push
This commit is contained in:
parent
42cea00a1d
commit
629b0d86ac
@ -631,7 +631,7 @@ class DynamicPicGenerator:
|
||||
|
||||
cover = await open_url_image(cover_url)
|
||||
cover_size = int(pic.width / 4)
|
||||
cover = cover.resize((cover_size, cover_size), Resampling.LANCZOS)
|
||||
cover = cover.resize((cover_size, cover_size), Resampling.LANCZOS).convert("RGBA")
|
||||
cover = mask_rounded_rectangle(cover)
|
||||
|
||||
if forward:
|
||||
|
Loading…
x
Reference in New Issue
Block a user