Merge pull request #1389 from merriam/master

In tutorial of pasting images, add to mask text.
This commit is contained in:
Hugo van Kemenade 2015-08-25 14:20:28 +01:00
commit 5dd1974450

View File

@ -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 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 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 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 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 an multi-band image, such as an RGB image. The split method creates a set of