setup img

This commit is contained in:
levina 2022-02-11 04:38:40 +07:00 committed by GitHub
parent b55be13a73
commit 24c6779006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ async def thumb(thumbnail, title, userid, ctitle):
await f.write(await resp.read())
await f.close()
image1 = Image.open(f"search/thumb{userid}.png")
image2 = Image.open("driver/source/LightBlue.png")
image2 = Image.open("driver/source/LightGreen.png")
image3 = changeImageSize(1280, 720, image1)
image4 = changeImageSize(1280, 720, image2)
image5 = image3.convert("RGBA")