mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
multiply each pixel by 20
This commit is contained in:
parent
ddc02bb78c
commit
96fa1f5dbf
|
@ -412,8 +412,8 @@ Applying point transforms
|
|||
|
||||
::
|
||||
|
||||
# multiply each pixel by 1.2
|
||||
out = im.point(lambda i: i * 1.2)
|
||||
# multiply each pixel by 20
|
||||
out = im.point(lambda i: i * 20)
|
||||
|
||||
.. image:: transformed_hopper.jpg
|
||||
:align: center
|
||||
|
|
Loading…
Reference in New Issue
Block a user