Pillow/docs/releasenotes/4.3.0.rst

10 lines
252 B
ReStructuredText
Raw Normal View History

4.3.0
-----
Get One Channel From Image
2017-08-12 14:22:36 +03:00
==========================
New method :py:meth:`PIL.Image.Image.getchannel` added.
It returns single channel by index or name. For example,
``image.getchannel("A")`` will return alpha channel as seperate image.