convert loading image immediately to "RGB" mode
This commit is contained in:
parent
acf63c9b9a
commit
18e6964c6f
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class Point2D:
|
||||||
|
|
||||||
def set_ProotScreen(matrix):
|
def set_ProotScreen(matrix):
|
||||||
prootScreen_frame_canvas = matrix.CreateFrameCanvas()
|
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)
|
prootScreen_frame_canvas.SetImage(image_prootScreen, unsafe=False)
|
||||||
matrix.SwapOnVSync(prootScreen_frame_canvas)
|
matrix.SwapOnVSync(prootScreen_frame_canvas)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue