Files
serveur-d-authentification/venv/lib/python3.10/site-packages/PIL/__pycache__/ImageEnhance.cpython-310.pyc

60 lines
3.7 KiB
Plaintext
Raw Normal View History

o
<00>Q<EFBFBD>j+<00>@srddlmZddlmZmZmZGdd<05>d<05>ZGdd<07>de<06>ZGdd <09>d e<06>ZGd
d <0B>d e<06>Z Gd d <0A>d e<06>Z
dS)<0F>)<01> annotations<6E>)<03>Image<67> ImageFilter<65> ImageStatc@s(eZdZUded<ded<d
dd<08>Zd S) <0B>_Enhance<63> Image.Image<67>image<67>
degenerate<EFBFBD>factor<6F>float<61>returncCst<00>|j|j|<01>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<00>blendr
r )<02>selfr <00>r<00>s/home/sorel/systeme_gestion_cerfig/serveur-d-authentification/venv/lib/python3.10/site-packages/PIL/ImageEnhance.py<70>enhances z_Enhance.enhanceN)r r r r)<05>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__annotations__rrrrrrs
rc@<01>eZdZdZd dd<07>ZdS)
<EFBFBD>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.
r rr <00>NonecCsH||_d|_d|<01><02>vrd|_|j|jkr|<01>|j<01><01>|j<03>}||_dS)N<>L<>A<>LA)r <00>intermediate_mode<64>getbands<64>mode<64>convertr
<00>rr rrr<00>__init__4s  
zColor.__init__N<5F>r rr r<00>rrr<00>__doc__r"rrrrr+src@r)
<EFBFBD>Contrastz<74>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 gray image. A factor of 1.0 gives the original image.
r rr rcCs<>||_|jdkr |<01>d<01>}tt<04>|<01>jdd<00>}t<07>d|j |<02>|_
|j
j|jjkr3|j
<EFBFBD>|jj<01>|_
d|j<00> <0B>vrF|j
<EFBFBD> |j<00> d<04><01>dSdS)Nrrg<00>?r)r rr <00>intr<00>Stat<61>meanr<00>new<65>sizer
r<00>putalpha<68>
getchannel)rr r)rrrr"Gs

<04>zContrast.__init__Nr#r$rrrrr&?<00>r&c@r)
<EFBFBD>
Brightnessz<EFBFBD>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.
r rr rcCs@||_t<01>|j|jd<01>|_d|<01><06>vr|j<05>|<01>d<02><01>dSdS)Nrr) r rr*rr+r
rr,r-r!rrrr"\s
 <04>zBrightness.__init__Nr#r$rrrrr/Tr.r/c@r)
<EFBFBD> Sharpnessz<73>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.
r rr rcCs:||_|<01>tj<03>|_d|<01><05>vr|j<04>|<01>d<01><01>dSdS)Nr)r <00>filterr<00>SMOOTHr
rr,r-r!rrrr"ls
 <04>zSharpness.__init__Nr#r$rrrrr0dr.r0N) <0B>
__future__r<00>rrrrrr&r/r0rrrr<00><module>s