[Python-modules-commits] [willow] 02/05: Update readme.rst
Christopher Stuart Hoskin
mans0954 at moszumanska.debian.org
Tue Dec 5 23:12:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
mans0954 pushed a commit to tag v0.1
in repository willow.
commit 82e0066549f7ee3869b49a8d8a72b3c5bdcac2ed
Author: Karl Hobley <karlhobley10 at gmail.com>
Date: Sun Nov 2 19:12:49 2014 +0000
Update readme.rst
---
readme.rst | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/readme.rst b/readme.rst
index 9d5dcc6..d65d372 100644
--- a/readme.rst
+++ b/readme.rst
@@ -26,10 +26,6 @@ Examples
Resizing a PNG file
```````````````````
-This will open the image file with Pillow or Wand (if Pillow is unavailable).
-
-It will then resize it to 100x100 pixels and save it back out as a PNG file.
-
.. code-block:: python
from willow.image import Image
@@ -43,12 +39,13 @@ It will then resize it to 100x100 pixels and save it back out as a PNG file.
img.save_as_png("test_thumbnail.png")
-Detecting faces
-```````````````
+This will open the image file with Pillow or Wand (if Pillow is unavailable).
-Like above, the image file will be loaded with either Pillow or Wand.
+It will then resize it to 100x100 pixels and save it back out as a PNG file.
-As neither Pillow nor Wand support detecting faces, Willow would automatically convert the image to OpenCV and use that to perform the detection.
+
+Detecting faces
+```````````````
.. code-block:: python
@@ -58,3 +55,9 @@ As neither Pillow nor Wand support detecting faces, Willow would automatically c
# Find faces
faces = img.detect_faces()
+
+
+Like above, the image file will be loaded with either Pillow or Wand.
+
+As neither Pillow nor Wand support detecting faces, Willow would automatically convert the image to OpenCV and use that to perform the detection.
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/willow.git
More information about the Python-modules-commits
mailing list