403Webshell
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 :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/PIL/__pycache__/ImageEnhance.cpython-39.opt-1.pyc
a

h�av�@sfddlmZmZmZGdd�d�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZdS)
�)�Image�ImageFilter�	ImageStatc@seZdZdd�ZdS)�_EnhancecCst�|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`
        )rZblend�
degenerate�image)�selfZfactor�r	�4/usr/lib/python3.9/site-packages/PIL/ImageEnhance.py�enhancesz_Enhance.enhanceN)�__name__�
__module__�__qualname__rr	r	r	r
rsrc@seZdZdZdd�ZdS)�ColoraAdjust 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.
    cCs8||_d|_d|��vrd|_|�|j��|j�|_dS)N�L�AZLA)rZintermediate_mode�getbands�convert�moder�rrr	r	r
�__init__0s
zColor.__init__N�rr
r�__doc__rr	r	r	r
r'src@seZdZdZdd�ZdS)�Contrastz�Adjust image contrast.

    This class can be used to control the contrast of an image, similar
    to the contrast control on a TV set. An enhancement factor of 0.0
    gives a solid grey image. A factor of 1.0 gives the original image.
    cCs`||_tt�|�d��jdd�}t�d|j|��|j	�|_
d|��vr\|j
�|�
d��dS)Nr�g�?r)r�intrZStatr�meanr�new�sizerrr�putalpha�
getchannel)rrrr	r	r
rAs
zContrast.__init__Nrr	r	r	r
r9src@seZdZdZdd�ZdS)�
Brightnessz�Adjust image brightness.

    This class can be used to control the brightness of an image.  An
    enhancement factor of 0.0 gives a black image. A factor of 1.0 gives the
    original image.
    cCs<||_t�|j|jd�|_d|��vr8|j�|�d��dS)Nrr)	rrrrrrrrr rr	r	r
rRszBrightness.__init__Nrr	r	r	r
r!Jsr!c@seZdZdZdd�ZdS)�	Sharpnessz�Adjust image sharpness.

    This class can be used to adjust the sharpness of an image. An
    enhancement factor of 0.0 gives a blurred image, a factor of 1.0 gives the
    original image, and a factor of 2.0 gives a sharpened image.
    cCs6||_|�tj�|_d|��vr2|j�|�d��dS)Nr)r�filterrZSMOOTHrrrr rr	r	r
rbszSharpness.__init__Nrr	r	r	r
r"Zsr"N)	�rrrrrrr!r"r	r	r	r
�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit