This commit is contained in:
Lukas Schulz 2020-12-20 00:30:47 +01:00
parent 852e3cfbff
commit 75d393fdf6

View file

@ -82,7 +82,7 @@ def showImage(image, offset_x = 0, offset_y = 0):
def drawCanvas(): def drawCanvas():
canvas = Image.new('RGB', (192, 128), color = 'black') canvas = Image.new('RGB', (192, 128), color = 'black')
canvas.paste(get_track(),(96,0)) canvas.paste(get_track(),(0,96))
songinfo = ImageDraw.Draw(canvas) songinfo = ImageDraw.Draw(canvas)
songinfo.text((33,111), song_name) songinfo.text((33,111), song_name)
songinfo.text((33,101), artist_name) songinfo.text((33,101), artist_name)