johann-foerster commited on
Commit
3eb4ddb
1 Parent(s): fc2a9f2

smaller logo

Browse files
Files changed (2) hide show
  1. resources/qm_logo.png +2 -2
  2. webui.py +2 -2
resources/qm_logo.png CHANGED

Git LFS Details

  • SHA256: f8f559946b0b52bbd853233f60e271a9687f7ec5d1bed82248f43476d99f9240
  • Pointer size: 129 Bytes
  • Size of remote file: 3.52 kB

Git LFS Details

  • SHA256: 44f3bd0feeaa76d8b17afb7b9a2fd335297a69efa53c191a85fd666d9ef17830
  • Pointer size: 129 Bytes
  • Size of remote file: 2.24 kB
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, 768)), fill=(0, 0, 0, 50))
77
- image._image.paste(QM_LOGO, (1135,675), 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))