This commit is contained in:
Christoph Haas 2026-01-17 22:32:23 +01:00
parent 1ab3db7716
commit 23b8cc4a12

View file

@ -6,7 +6,7 @@ from PIL import Image, ImageDraw, ImageFont
import lib.display
def start(stop_event, args):
image = Image.open("images/piamedia.png").convert("RGBA")
image = Image.open("images/piamedia.png") #.convert("RGBA")
if image.mode == "RGBA":
background = Image.new("RGB", image.size, (0, 0, 0))
background.paste(image, mask=image.getchannel("A"))