Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes #2504 in artresizer #3029
This PR fixes #2504
PIL Image.save() requires a string parameter  while with python3 we call it with bytes.
I haven't found a better existing function to do this (feel free to change patch) nor a unit test using PIL Image.save.
Cool! Thanks for looking into this.
Sure I did test that.
But your question was a good opportunity to install and test with python 3.7 ;-)
In the end, using 2.7, 3.5 and 3.7 (ImageMagick not installed), I can confirm that:
For reference, Python Image Library is Pillow 5.2.0.