Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/PIL/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/PIL/__pycache__/ImageEnhance.cpython-310.pyc
o

Z#�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`
        )r�blend�
degenerate�image)�self�factor�r�2/usr/lib/python3/dist-packages/PIL/ImageEnhance.py�enhancesz_Enhance.enhanceN)�__name__�
__module__�__qualname__r
rrrrrsrc@�eZdZdZdd�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�A�LA)r�intermediate_mode�getbands�convert�moder�r	rrrr�__init__0s
zColor.__init__N�rrr�__doc__rrrrrr'src@r)�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.
    cCsd||_tt�|�d��jdd�}t�d|j|��|j	�|_
d|��vr0|j
�|�
d��dSdS)Nr�g�?r)r�intr�Statr�meanr�new�sizerrr�putalpha�
getchannel)r	rr"rrrrAs�zContrast.__init__Nrrrrrr9�rc@r)�
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|��vr|j�|�d��dSdS)Nrr)	rrr#rr$rrr%r&rrrrrRs
�zBrightness.__init__Nrrrrrr(Jr'r(c@r)�	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.
    cCs:||_|�tj�|_d|��vr|j�|�d��dSdS)Nr)r�filterr�SMOOTHrrr%r&rrrrrbs
�zSharpness.__init__Nrrrrrr)Zr'r)N)	�rrrrrrr(r)rrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit