mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
putalpha does not allow other color values
This commit is contained in:
parent
c1f10c107a
commit
7e14364cee
|
@ -1933,8 +1933,7 @@ class Image:
|
|||
The new layer must be either "L" or "1".
|
||||
|
||||
:param alpha: The new alpha layer. This can either be an "L" or "1"
|
||||
image having the same size as this image, or an integer or
|
||||
other color value.
|
||||
image having the same size as this image, or an integer.
|
||||
"""
|
||||
|
||||
self._ensure_mutable()
|
||||
|
|
Loading…
Reference in New Issue
Block a user