File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,25 +12,25 @@ images.
1212Examples
1313--------
1414
15+ Open, rotate, and display an image (using the default viewer)
16+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17+
1518The following script loads an image, rotates it 45 degrees, and displays it
1619using an external viewer (usually xv on Unix, and the paint program on
1720Windows).
1821
19- Open, rotate, and display an image (using the default viewer)
20- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21-
2222.. code-block :: python
2323
2424 from PIL import Image
2525 im = Image.open(" bride.jpg" )
2626 im.rotate(45 ).show()
2727
28- The following script creates nice thumbnails of all JPEG images in the
29- current directory preserving aspect ratios with 128x128 max resolution.
30-
3128 Create thumbnails
3229^^^^^^^^^^^^^^^^^
3330
31+ The following script creates nice thumbnails of all JPEG images in the
32+ current directory preserving aspect ratios with 128x128 max resolution.
33+
3434.. code-block :: python
3535
3636 from PIL import Image
You can’t perform that action at this time.
0 commit comments