mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 02:04:36 +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".
|
The new layer must be either "L" or "1".
|
||||||
|
|
||||||
:param alpha: The new alpha layer. This can either be an "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
|
image having the same size as this image, or an integer.
|
||||||
other color value.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self._ensure_mutable()
|
self._ensure_mutable()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user