File: //lib/python3/dist-packages/PIL/__pycache__/ImageChops.cpython-38.pyc
U
g�
^~ � @ s� d dl mZ dd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Zdd� Zdd� Z d)dd�Z
d*dd�Zdd� Zdd� Z
dd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd+d'd(�Zd&S ),� )�Imagec C s t �d| j|�S )zVFill a channel with a given grey level.
:rtype: :py:class:`~PIL.Image.Image`
�L)r �new�size)�image�value� r �0/usr/lib/python3/dist-packages/PIL/ImageChops.py�constant s r
c C s | � � S )ziCopy a channel. Alias for :py:meth:`PIL.Image.Image.copy`.
:rtype: :py:class:`~PIL.Image.Image`
)�copy�r r r r � duplicate s r
c C s | � � | �| j�� �S )z�
Invert an image (channel).
.. code-block:: python
out = MAX - image
:rtype: :py:class:`~PIL.Image.Image`
)�load�_new�imZchop_invertr r r r �invert'