mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 00:46:16 +03:00
Merge pull request #1389 from merriam/master
In tutorial of pasting images, add to mask text.
This commit is contained in:
commit
5dd1974450
|
@ -193,7 +193,9 @@ For more advanced tricks, the paste method can also take a transparency mask as
|
|||
an optional argument. In this mask, the value 255 indicates that the pasted
|
||||
image is opaque in that position (that is, the pasted image should be used as
|
||||
is). The value 0 means that the pasted image is completely transparent. Values
|
||||
in-between indicate different levels of transparency.
|
||||
in-between indicate different levels of transparency. For example, pasting an
|
||||
RGBA image and also using it as the mask would paste the opaque portion
|
||||
of the image but not its transparent background.
|
||||
|
||||
The Python Imaging Library also allows you to work with the individual bands of
|
||||
an multi-band image, such as an RGB image. The split method creates a set of
|
||||
|
|
Loading…
Reference in New Issue
Block a user