mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Corrected documentation [ci skip]
This commit is contained in:
parent
648030eb7e
commit
c3e0a685be
|
@ -247,8 +247,9 @@ Transposing an image
|
||||||
out = im.transpose(Image.ROTATE_180)
|
out = im.transpose(Image.ROTATE_180)
|
||||||
out = im.transpose(Image.ROTATE_270)
|
out = im.transpose(Image.ROTATE_270)
|
||||||
|
|
||||||
There’s no difference in performance or result between ``transpose(ROTATE)``
|
``transpose(ROTATE)`` operations can also be performed identically with
|
||||||
and corresponding :py:meth:`~PIL.Image.Image.rotate` operations.
|
:py:meth:`~PIL.Image.Image.rotate` operations, provided the `expand` flag is
|
||||||
|
true, to provide for the same changes to the image's size.
|
||||||
|
|
||||||
A more general form of image transformations can be carried out via the
|
A more general form of image transformations can be carried out via the
|
||||||
:py:meth:`~PIL.Image.Image.transform` method.
|
:py:meth:`~PIL.Image.Image.transform` method.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user