Merge branch 'main' of https://git.hostingwire.net/cisco/CiscoTheProot
This commit is contained in:
commit
3c687f41b6
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ def pure_pil_alpha_to_color_v2(image, color=(0, 0, 0)):
|
|||
background.paste(image, mask=image.split()[3]) # 3 is the alpha channel
|
||||
return background
|
||||
|
||||
image = Image.open("../prootface.bmp")
|
||||
image = Image.open("faces/prootface3.bmp")
|
||||
image.thumbnail((128, 32), Image.ANTIALIAS)
|
||||
RGBImage = pure_pil_alpha_to_color_v2(image)
|
||||
|
||||
|
@ -83,4 +83,4 @@ client.loop_start()
|
|||
|
||||
|
||||
while True:
|
||||
time.sleep(0.005)
|
||||
time.sleep(0.005)
|
||||
|
|
Loading…
Reference in a new issue