Taka005
commited on
Commit
·
c72b3e5
1
Parent(s):
7acdce2
色変更
Browse files
main.py
CHANGED
@@ -153,9 +153,9 @@ def reverseMake(name, tag, id, content, icon):
|
|
153 |
tsize_name = drawText(img, (390, name_y), f"{name}#{tag}", size=25, color=(255, 255, 255, 255), split_len=25, disable_dot_wrap=True)
|
154 |
|
155 |
id_y = name_y + tsize_name[1] + 4
|
156 |
-
tsize_id = drawText(img, (390, id_y), id, size=18, color=(
|
157 |
|
158 |
-
tx.text((6, 694), BRAND,font=MPLUS_FONT, fill=(
|
159 |
|
160 |
file = io.BytesIO()
|
161 |
img.save(file, format="PNG", quality=95)
|
|
|
153 |
tsize_name = drawText(img, (390, name_y), f"{name}#{tag}", size=25, color=(255, 255, 255, 255), split_len=25, disable_dot_wrap=True)
|
154 |
|
155 |
id_y = name_y + tsize_name[1] + 4
|
156 |
+
tsize_id = drawText(img, (390, id_y), id, size=18, color=(90, 90, 90, 255), split_len=45, disable_dot_wrap=True)
|
157 |
|
158 |
+
tx.text((6, 694), BRAND, font=MPLUS_FONT, fill=(110, 110, 110, 255))
|
159 |
|
160 |
file = io.BytesIO()
|
161 |
img.save(file, format="PNG", quality=95)
|