mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 02:04:36 +03:00
Use suggested doc block
This commit is contained in:
parent
50adc0cf3f
commit
1c94c9fbf2
|
@ -25,10 +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 (N.B. It will maintain aspect ratio of the original JPEG
|
current directory preserving aspect ratios with 128x128 max resolution.
|
||||||
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