From 18e6964c6fcf5e7103fd3790fe3e24c6c7e2167d Mon Sep 17 00:00:00 2001 From: CiscoTheWolf Date: Tue, 23 May 2023 21:06:35 +0200 Subject: [PATCH] convert loading image immediately to "RGB" mode --- rpi/antRender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi/antRender.py b/rpi/antRender.py index c579560..0cb28df 100644 --- a/rpi/antRender.py +++ b/rpi/antRender.py @@ -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)