yes.
This commit is contained in:
parent
6a6d352259
commit
852e3cfbff
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue