This commit is contained in:
Lukas Schulz 2020-12-19 23:29:18 +01:00
parent 0bd155eb51
commit d57f1c0886

View file

@ -47,7 +47,7 @@ def get_track():
print('resizing image') print('resizing image')
image = image.resize((32,32)) image = image.resize((32,32))
#return image #return image
image.save("/home/pi/led-matrix-player/thumbnail.jpg","JPEG") #image.save("thumbnail.jpg","JPEG")
print('set image') print('set image')
screen.SetImage(image.convert('RGB')) screen.SetImage(image.convert('RGB'))
print('image set') print('image set')