We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python-pillow/Pillow#2609
My jpeg image is loaded with image.mode == 'L'. The resize function override this mode to RGBA and it breaks Pillow.
image.mode == 'L'
resize
RGBA
https://github.com/mikeboers/Flask-Images/blob/master/flask_images/core.py#L225
I just commented this mode override and it worked. I don't know why this mode change is there.
mode
The text was updated successfully, but these errors were encountered:
No branches or pull requests
python-pillow/Pillow#2609
My jpeg image is loaded with
image.mode == 'L'
. Theresize
function override this mode toRGBA
and it breaks Pillow.https://github.com/mikeboers/Flask-Images/blob/master/flask_images/core.py#L225
I just commented this
mode
override and it worked. I don't know why this mode change is there.The text was updated successfully, but these errors were encountered: