django-resized
django-resized copied to clipboard
Image width and height are not what i have entered!
i want image to be 48/48 but the size sometimes 40/50,60/40 like.
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'.