This commit is contained in:
Lukas Schulz 2020-12-20 00:28:49 +01:00
parent ed81131956
commit 6a6d352259

View file

@ -81,11 +81,11 @@ def showImage(image, offset_x = 0, offset_y = 0):
def drawCanvas():
canvas = Image.new('RGB', (192, 128), color = 'red')
canvas = Image.new('RGB', (192, 128), color = 'black')
canvas.paste(get_track(),(0,0))
songinfo = ImageDraw.Draw(canvas)
songinfo.text((32,0), song_name)
songinfo.text((32,10), artist_name)
songinfo.text((32,10), song_name)
songinfo.text((32,0), artist_name)
showImage(canvas)