mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Merge pull request #5277 from jcea/typo
Example from filter should be next to filter method docs, not in 'frombytes'
This commit is contained in:
commit
585683ce25
|
@ -160,7 +160,6 @@ This crops the input image with the provided coordinates:
|
|||
.. automethod:: PIL.Image.Image.effect_spread
|
||||
.. automethod:: PIL.Image.Image.entropy
|
||||
.. automethod:: PIL.Image.Image.filter
|
||||
.. automethod:: PIL.Image.Image.frombytes
|
||||
|
||||
This blurs the input image using a filter from the ``ImageFilter`` module:
|
||||
|
||||
|
@ -173,6 +172,7 @@ This blurs the input image using a filter from the ``ImageFilter`` module:
|
|||
# Blur the input image using the filter ImageFilter.BLUR
|
||||
im_blurred = im.filter(filter=ImageFilter.BLUR)
|
||||
|
||||
.. automethod:: PIL.Image.Image.frombytes
|
||||
.. automethod:: PIL.Image.Image.getbands
|
||||
|
||||
This helps to get the bands of the input image:
|
||||
|
|
Loading…
Reference in New Issue
Block a user