hankhank10 / music-screen-api

Display the playing Sonos track in real time on an e-ink display - also includes functionality for last.fm
120 stars 17 forks source link

image quality on latest dev branch is poor #23

Closed habra-cadabra closed 4 years ago

habra-cadabra commented 4 years ago

hello!

updated to the latest dev build today and I noticed the image quality is poor when comparing to earlier versions. I rolled back the to the 799a2f2 build and the image looked better.

the source isn't great in the example images, as Apple Music's supplied artwork for this album is only 400x400 pixels, but you can see a difference between the two. I also noticed the default sonos.png file looked pixelated on the latest build.

latest build:

release-94cf788

799a2f2 build

release-799a2f2

(one final note, the only change I made to the file was to change the font size of the track title from 40 to 30)

jjlawren commented 4 years ago

Ah, I see why. I misread some library documentation and mistakenly switched to a lower quality resizing algorithm. Easy fix.

jjlawren commented 4 years ago

Should be fixed in ed1a358a8170a13dbb1598e1ec579f662f4c3657, let me know if it looks better.

habra-cadabra commented 4 years ago

look better!

thanks so much for your continued work on this project, it's very cool.