ffs
This commit is contained in:
parent
1ab3db7716
commit
23b8cc4a12
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +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") #.convert("RGBA")
|
||||||
if image.mode == "RGBA":
|
if image.mode == "RGBA":
|
||||||
background = Image.new("RGB", image.size, (0, 0, 0))
|
background = Image.new("RGB", image.size, (0, 0, 0))
|
||||||
background.paste(image, mask=image.getchannel("A"))
|
background.paste(image, mask=image.getchannel("A"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue