| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/PIL/__pycache__/ |
Upload File : |
a
h�av � @ sf d dl mZmZmZ G dd� d�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de�ZdS )
� )�Image�ImageFilter� ImageStatc @ s e Zd Zdd� ZdS )�_Enhancec C s t �| j| j|�S )a�
Returns an enhanced image.
:param factor: A floating point value controlling the enhancement.
Factor 1.0 always returns a copy of the original image,
lower factors mean less color (brightness, contrast,
etc), and higher values more. There are no restrictions
on this value.
:rtype: :py:class:`~PIL.Image.Image`
)r Zblend�
degenerate�image)�selfZfactor� r �4/usr/lib/python3.9/site-packages/PIL/ImageEnhance.py�enhance s z_Enhance.enhanceN)�__name__�
__module__�__qualname__r r r r r
r s r c @ s e Zd ZdZdd� ZdS )�Colora Adjust image color balance.
This class can be used to adjust the colour balance of an image, in
a manner similar to the controls on a colour TV set. An enhancement
factor of 0.0 gives a black and white image. A factor of 1.0 gives
the original image.
c C s8 || _ d| _d|�� v rd| _|�| j��|j�| _d S )N�L�AZLA)r Zintermediate_mode�getbands�convert�moder �r r r r r
�__init__0 s
zColor.__init__N�r r
r �__doc__r r r r r
r '