⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
PIL
/
__pycache__
/
View File Name :
ImageEnhance.cpython-310.pyc
o Z#û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 ÚblendÚ degenerateÚimage)ÚselfÚfactor© r ú2/usr/lib/python3/dist-packages/PIL/ImageEnhance.pyÚenhance s z_Enhance.enhanceN)Ú__name__Ú __module__Ú__qualname__r r r r r r s r c @ ó 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ÚAÚLA)r Úintermediate_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 ' s r c @ 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. c C sd || _ tt | d¡¡jd d ƒ}t d|j|¡ |j ¡| _ d| ¡ v r0| j | d¡¡ d S d S )Nr é g à?r )r Úintr ÚStatr Úmeanr ÚnewÚsizer r r ÚputalphaÚ getchannel)r r r" r r r r A s ÿzContrast.__init__Nr r r r r r 9 ó r c @ 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. c C s@ || _ t |j|jd¡| _d| ¡ v r| j | d¡¡ d S d S )Nr r ) r r r# r r$ r r r% r&