This commit is contained in:
Lukas Schulz 2020-12-20 00:30:28 +01:00
parent 6a6d352259
commit 852e3cfbff

View file

@ -82,10 +82,10 @@ 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(),(0,0)) canvas.paste(get_track(),(96,0))
songinfo = ImageDraw.Draw(canvas) songinfo = ImageDraw.Draw(canvas)
songinfo.text((32,10), song_name) songinfo.text((33,111), song_name)
songinfo.text((32,0), artist_name) songinfo.text((33,101), artist_name)
showImage(canvas) showImage(canvas)