mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 19:36:38 +03:00
Merge pull request #2256 from radarhere/imageops
Doc: Improved description of ImageOps.deform resample parameter
This commit is contained in:
commit
0271887115
|
@ -206,7 +206,8 @@ def deform(image, deformer, resample=Image.BILINEAR):
|
||||||
:param image: The image to deform.
|
:param image: The image to deform.
|
||||||
:param deformer: A deformer object. Any object that implements a
|
:param deformer: A deformer object. Any object that implements a
|
||||||
**getmesh** method can be used.
|
**getmesh** method can be used.
|
||||||
:param resample: What resampling filter to use.
|
:param resample: An optional resampling filter. Same values possible as
|
||||||
|
in the PIL.Image.transform function.
|
||||||
:return: An image.
|
:return: An image.
|
||||||
"""
|
"""
|
||||||
return image.transform(
|
return image.transform(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user