ffs
This commit is contained in:
parent
6cf3eec52a
commit
42c0882dc3
1 changed files with 1 additions and 5 deletions
|
|
@ -6,11 +6,7 @@ from PIL import Image, ImageDraw, ImageFont
|
|||
import lib.display
|
||||
|
||||
def start(stop_event, args):
|
||||
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"))
|
||||
image = background
|
||||
image = Image.open("images/piamedia.png")
|
||||
|
||||
lib.display.matrix.show(image)
|
||||
while not stop_event.is_set():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue