Closed mircoianese closed 1 year ago
Not sure if it's the correct solution, but after some troubleshooting I got it working by replacing this line:
patch = next(iter(imageio.get_reader(r.content, ".png")))
with:
patch = imageio.imread(r.content, format='png', pilmode="RGBA")
Not doing a pull request since I'm not sure about the solution (and why it works)
Just to be sure, does this happen on any sheet, or one particular only?
Not sure if it's the correct solution, but after some troubleshooting I got it working by replacing this line:
patch = next(iter(imageio.get_reader(r.content, ".png")))
with:
patch = imageio.imread(r.content, format='png', pilmode="RGBA")
Not doing a pull request since I'm not sure about the solution (and why it works)
I have the same issue. It happens with every song I try. The fix you mentioned (THANK YOU!) also works for me, and my (very) limited python skills.
Just to be sure, does this happen on any sheet, or one particular only?
I had the same issue. Fix works! As far as i can tell, the original code results in pure white images with just three channels.
OK it is probably related to the imageio backend, however I did not do exhaustive testing, as the fix you suggested works for me, and is also much more elegant. I included it and also put it on pyPI. Thanks a lot.
Hello,
I'm having issues with the script on both Ubuntu WSL (Windows) and Mac OS (M1). When trying to download the sheet I'm getting: (note that links are obfuscated)
Thanks