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
|
import lib.display
|
||||||
|
|
||||||
def start(stop_event, args):
|
def start(stop_event, args):
|
||||||
image = Image.open("images/piamedia.png") #.convert("RGBA")
|
image = Image.open("images/piamedia.png")
|
||||||
if image.mode == "RGBA":
|
|
||||||
background = Image.new("RGB", image.size, (0, 0, 0))
|
|
||||||
background.paste(image, mask=image.getchannel("A"))
|
|
||||||
image = background
|
|
||||||
|
|
||||||
lib.display.matrix.show(image)
|
lib.display.matrix.show(image)
|
||||||
while not stop_event.is_set():
|
while not stop_event.is_set():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue