mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 19:45:56 +03:00
Merge pull request #2281 from wilsonge/patch-1
Add note about aspect ratio to documentation
This commit is contained in:
commit
0f17f0e5c0
|
@ -25,8 +25,8 @@ Open, rotate, and display an image (using the default viewer)
|
||||||
im = Image.open("bride.jpg")
|
im = Image.open("bride.jpg")
|
||||||
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 thumbnails of all JPEG images in the
|
||||||
current directory.
|
current directory preserving aspect ratios with 128x128 max resolution.
|
||||||
|
|
||||||
Create thumbnails
|
Create thumbnails
|
||||||
^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Reference in New Issue
Block a user