Answer the question
In order to leave comments, you need to log in
Why doesn't PIL crop the image by height?
temp.thumbnail((400, 400), Image.ANTIALIAS)
The dimensions of the original picture are 1366x910. After cropping, the image was changed to 400x266, although I indicated 400, 400
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question