convert loading image immediately to "RGB" mode

This commit is contained in:
CiscoTheWolf 2023-05-23 21:06:35 +02:00
parent acf63c9b9a
commit 18e6964c6f

View file

@ -58,7 +58,7 @@ class Point2D:
def set_ProotScreen(matrix):
prootScreen_frame_canvas = matrix.CreateFrameCanvas()
image_prootScreen = Image.open("faces/eyeLeftOpen.png")
image_prootScreen = Image.open("faces/ProotScreen.png").convert('RGB')
prootScreen_frame_canvas.SetImage(image_prootScreen, unsafe=False)
matrix.SwapOnVSync(prootScreen_frame_canvas)