This commit is contained in:
Lukas Schulz 2020-12-19 23:32:05 +01:00
parent 71e4af5565
commit 5fe46a5e4a

View file

@ -46,7 +46,7 @@ def get_track():
#imageString = requests.get(track['item']['album']['images'][0]['url']) #imageString = requests.get(track['item']['album']['images'][0]['url'])
#image = Image.open(f) #image = Image.open(f)
print('resizing image') print('resizing image')
image = image.resize((32,32)) #image = image.resize((32,32))
print(str(image)) print(str(image))
#return image #return image
#image.save("thumbnail.jpg","JPEG") #image.save("thumbnail.jpg","JPEG")