mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 18:36:17 +03:00
Add note about aspect ratio to documentation
This commit is contained in:
parent
badbff1b99
commit
50adc0cf3f
|
@ -26,7 +26,9 @@ Open, rotate, and display an image (using the default viewer)
|
||||||
im.rotate(45).show()
|
im.rotate(45).show()
|
||||||
|
|
||||||
The following script creates nice 128x128 thumbnails of all JPEG images in the
|
The following script creates nice 128x128 thumbnails of all JPEG images in the
|
||||||
current directory.
|
current directory (N.B. It will maintain aspect ratio of the original JPEG
|
||||||
|
images so the thumbnails will only end up with sizes of 128x128 if the original
|
||||||
|
images were square).
|
||||||
|
|
||||||
Create thumbnails
|
Create thumbnails
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Reference in New Issue
Block a user