403Webshell
Server IP : 146.190.157.162  /  Your IP : 216.73.216.78
Web Server : Apache
System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64
User : businessweek ( 639)
PHP Version : 8.2.10-2ubuntu2.2
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/PIL/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/PIL/__pycache__/ImageEnhance.cpython-311.pyc
�

D#�dv���ddlmZmZmZGd�d��ZGd�de��ZGd�de��ZGd�d	e��ZGd
�de��ZdS)
�)�Image�ImageFilter�	ImageStatc��eZdZd�ZdS)�_Enhancec�B�tj|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�factors  �2/usr/lib/python3/dist-packages/PIL/ImageEnhance.py�enhancez_Enhance.enhances���{�4�?�D�J��?�?�?�N)�__name__�
__module__�__qualname__r�rrrrs(������@�@�@�@�@rrc��eZdZdZd�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.
    c���||_d|_d|���vrd|_|�|j���|j��|_dS)N�L�A�LA)r�intermediate_mode�getbands�convert�moder
�rrs  r�__init__zColor.__init__0sX����
�!$����%�.�.�"�"�"�"�%)�D�"��-�-��(>�?�?�G�G��
�S�S����rN�rrr�__doc__r rrrrr's2��������T�T�T�T�Trrc��eZdZdZd�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.
    c��||_ttj|�d����jddz��}t
jd|j|���|j	��|_
d|���vr/|j
�|�
d����dSdS)Nr�g�?r)r�intr�Statr�meanr�new�sizerr
r�putalpha�
getchannel)rrr)s   rr zContrast.__init__As�����
��9�>�%�-�-��"4�"4�5�5�:�1�=��C�D�D���)�C���T�:�:�B�B�5�:�N�N����%�.�.�"�"�"�"��O�$�$�U�%5�%5�c�%:�%:�;�;�;�;�;�#�"rNr!rrrr$r$9s-��������<�<�<�<�<rr$c��eZdZdZd�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.
    c���||_tj|j|jd��|_d|���vr/|j�|�d����dSdS)Nr&r)	rrr*rr+r
rr,r-rs  rr zBrightness.__init__Rsi����
��)�E�J��
�A�>�>����%�.�.�"�"�"�"��O�$�$�U�%5�%5�c�%:�%:�;�;�;�;�;�#�"rNr!rrrr/r/J�-��������<�<�<�<�<rr/c��eZdZdZd�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.
    c���||_|�tj��|_d|���vr/|j�|�d����dSdS)Nr)r�filterr�SMOOTHr
rr,r-rs  rr zSharpness.__init__bsf����
��,�,�{�'9�:�:����%�.�.�"�"�"�"��O�$�$�U�%5�%5�c�%:�%:�;�;�;�;�;�#�"rNr!rrrr3r3Zr1rr3N)	�rrrrrr$r/r3rrr�<module>r8s��*,�+�+�+�+�+�+�+�+�+�@�@�@�@�@�@�@�@�T�T�T�T�T�H�T�T�T�$<�<�<�<�<�x�<�<�<�"
<�
<�
<�
<�
<��
<�
<�
<� 
<�
<�
<�
<�
<��
<�
<�
<�
<�
<r

Youez - 2016 - github.com/yon3zu
LinuXploit