fixed roy-test image location

This commit is contained in:
Cisco the Proot 2023-05-21 22:26:03 +01:00
parent dbc0f91848
commit 12fc99a8e8

View file

@ -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, 62), 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)