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