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
i want image to be 48/48 but the size sometimes 40/50,60/40 like.
The text was updated successfully, but these errors were encountered:
The 'size' option is not the actual size of the final image but the max size. The image will be less than or equal to this size.
Also, internally the Image.thumbnail() function of the Pillow library is used which approximates the size to preserve aspect of image.
The docs should make it more clear or 'size' should be renamed to 'max size'.
Sorry, something went wrong.
No branches or pull requests
i want image to be 48/48 but the size sometimes 40/50,60/40 like.
The text was updated successfully, but these errors were encountered: