johann-foerster
commited on
Commit
•
3eb4ddb
1
Parent(s):
fc2a9f2
smaller logo
Browse files- resources/qm_logo.png +2 -2
- webui.py +2 -2
resources/qm_logo.png
CHANGED
Git LFS Details
|
Git LFS Details
|
webui.py
CHANGED
@@ -73,8 +73,8 @@ def overlay_image(image_path, toggle_greet, greet):
|
|
73 |
TEXTBOX_WIDTH = 1280-HEIGHT-4*TEXT_PADDING
|
74 |
|
75 |
X_RECT=1280-HEIGHT-2*TEXT_PADDING
|
76 |
-
image.rectangle(((X_RECT, 768-HEIGHT), (1280,
|
77 |
-
image._image.paste(QM_LOGO, (
|
78 |
if (toggle_greet):
|
79 |
image.rectangle(((0, 768-HEIGHT), (X_RECT-1, 768)), fill=(255, 255, 255, 166))
|
80 |
txt_image = Image.new('RGBA', (4*1280, 4*TEXTBOX_HEIGHT), (255,255,255,0))
|
|
|
73 |
TEXTBOX_WIDTH = 1280-HEIGHT-4*TEXT_PADDING
|
74 |
|
75 |
X_RECT=1280-HEIGHT-2*TEXT_PADDING
|
76 |
+
image.rectangle(((X_RECT, 768-HEIGHT), (1280, 766)), fill=(0, 0, 0, 50))
|
77 |
+
image._image.paste(QM_LOGO, (1148,687), QM_LOGO)
|
78 |
if (toggle_greet):
|
79 |
image.rectangle(((0, 768-HEIGHT), (X_RECT-1, 768)), fill=(255, 255, 255, 166))
|
80 |
txt_image = Image.new('RGBA', (4*1280, 4*TEXTBOX_HEIGHT), (255,255,255,0))
|