@@ -61,14 +61,14 @@ See :ref:`concept-filters` to learn the difference. In short,
61
61
Image.draft() return value
62
62
^^^^^^^^^^^^^^^^^^^^^^^^^^
63
63
64
- The `` Image.draft() `` method used to return ``None `` or the image itself .
65
- Unlike other ` chain methods `_, `` draft() `` modifies the image in-place
66
- rather than returning a modified version.
67
-
68
- In the new version, `` draft() `` returns `` None `` if it has no effect or
69
- a tuple of new image mode and the box of original coordinates in the
70
- bounds of resulting image otherwise
71
- (the box could be useful in subsequent `` resize() `` call) .
64
+ If the :py:meth: ` ~PIL. Image.Image. draft` method has no effect, it returns ``None ``.
65
+ If it does have an effect, then it previously returned the image itself.
66
+ However, unlike other ` chain methods `_, :py:meth: ` ~PIL.Image.Image.draft ` does not
67
+ return a modified version of the image, but modifies it in-place. So instead, if
68
+ :py:meth: ` ~PIL.Image.Image. draft` has an effect, Pillow will now return a tuple
69
+ of the image mode and a co-ordinate box. The box is the original coordinates in the
70
+ bounds of resulting image. This may be useful in a subsequent
71
+ :py:meth: ` ~PIL.Image.Image. resize` call.
72
72
73
73
.. _chain methods : https://en.wikipedia.org/wiki/Method_chaining
74
74
0 commit comments