Taka005
commited on
Commit
·
7acdce2
1
Parent(s):
625d16d
修正
Browse files
main.py
CHANGED
@@ -167,10 +167,8 @@ def whiteMake(name, tag, id, content, icon):
|
|
167 |
|
168 |
icon = Image.open(io.BytesIO(requests.get(icon).content))
|
169 |
icon = icon.resize((720, 720), Image.LANCZOS)
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
img.paste(icon_filtered.enhance(0.7), (0, 0))
|
174 |
img.paste(BASE_GD_W_IMAGE, (0, 0), BASE_GD_W_IMAGE)
|
175 |
|
176 |
tx = ImageDraw.Draw(img)
|
|
|
167 |
|
168 |
icon = Image.open(io.BytesIO(requests.get(icon).content))
|
169 |
icon = icon.resize((720, 720), Image.LANCZOS)
|
170 |
+
|
171 |
+
img.paste(icon, (0, 0), icon)
|
|
|
|
|
172 |
img.paste(BASE_GD_W_IMAGE, (0, 0), BASE_GD_W_IMAGE)
|
173 |
|
174 |
tx = ImageDraw.Draw(img)
|