You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was encountering similar problems, I did some digging and found a couple bugs related to orientation, and was able to temporarily fix it by creating my own engine. See my issue #495 for details on how I fixed it.
I'm using Sorl Thumbnail 12.4a1, Pillow 4.0.0 in a django project
It works fine for most images but for some of them I run into unexpected behaviour.
The original image is portrait jpg 765x1110
After running this code: get_thumbnail('/media/ryzsUIKZVUc.jpg', '464', upscale=False)
I receive a 464x320 image with black background on it's left and right and cropped on top and bottom
this is the original: https://www.dropbox.com/s/ia7906ec19xjhro/ryzsUIKZVUc.jpg?dl=0
and this is the result: https://www.dropbox.com/s/adgut5zkw4xln6e/62b2439654a00312defafddb862eda9b.jpg?dl=0
The text was updated successfully, but these errors were encountered: