1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Ë
³òúhœãó—ddlmZddlmZmZmZGd„d«ZGd„de«ZGd„d    e«ZGd
„d e«Z    Gd „d e«Z
y)é)Ú annotationsé)ÚImageÚ ImageFilterÚ    ImageStatcó*—eZdZUded<ded<dd„Zy)Ú_Enhanceú Image.ImageÚimageÚ
degeneratecóX—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Úblendr r )ÚselfÚfactors  úCH:\Change_password\venv_build\Lib\site-packages\PIL/ImageEnhance.pyÚenhancez_Enhance.enhances€ô{‰{˜4Ÿ?™?¨D¯J©J¸Ó?Ð?óN)rÚfloatÚreturnr
)Ú__name__Ú
__module__Ú __qualname__Ú__annotations__r©rrr    r    s…Ø ÓØÓô @rr    có—eZdZdZdd„Zy)Ú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|j«vrd|_|j|jk7r4|j    |j«j    |j«}||_y)NÚLÚAÚLA)r Úintermediate_modeÚgetbandsÚmodeÚconvertr ©rr s  rÚ__init__zColor.__init__4sd€ØˆŒ
Ø!$ˆÔØ %—.‘.Ó"Ñ "Ø%)ˆDÔ "à × !Ñ ! U§Z¡ZÒ /Ø—M‘M $×"8Ñ"8Ó9×AÑAÀ%Ç*Á*ÓMˆE؈rN©r r
rÚNone©rrrÚ__doc__r&rrrrr+s „ñô rrcó—eZdZdZdd„Zy)Ú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 gray image. A factor of 1.0 gives the original image.
    có^—||_|jdk7r|jd«}tt    j
|«j ddz«}tjd|j|«|_
|jj|jjk7r4|jj|jj«|_
d|jj«vr5|jj|jjd««yy)Nrrgà?r)r r#r$ÚintrÚStatÚmeanrÚnewÚsizer r"ÚputalphaÚ
getchannel)rr r0s   rr&zContrast.__init__GsрØˆŒ
Ø :‰:˜Ò Ø—M‘M #Ó&ˆEÜ”9—>‘> %Ó(×-Ñ-¨aÑ0°3Ñ6Ó7ˆÜŸ)™) C¨¯©°TÓ:ˆŒØ ?‰?× Ñ  4§:¡:§?¡?Ò 2Ø"Ÿo™o×5Ñ5°d·j±j·o±oÓFˆDŒOà $—*‘*×%Ñ%Ó'Ñ 'Ø O‰O× $Ñ $ T§Z¡Z×%:Ñ%:¸3Ó%?Õ @ð (rNr'r)rrrr,r,?s „ñô
Arr,có—eZdZdZdd„Zy)Ú
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|j «vr+|j
j|jd««yy)Nrr)    r rr1r#r2r r"r3r4r%s  rr&zBrightness.__init__\sV€ØˆŒ
ÜŸ)™) E§J¡J°·
±
¸AÓ>ˆŒà %—.‘.Ó"Ñ "Ø O‰O× $Ñ $ U×%5Ñ%5°cÓ%:Õ ;ð #rNr'r)rrrr6r6Tó „ñô<rr6có—eZdZdZdd„Zy)Ú    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óԗ||_|jtj«|_d|j «vr+|jj |jd««yy)Nr)r ÚfilterrÚSMOOTHr r"r3r4r%s  rr&zSharpness.__init__lsP€ØˆŒ
ØŸ,™,¤{×'9Ñ'9Ó:ˆŒà %—.‘.Ó"Ñ "Ø O‰O× $Ñ $ U×%5Ñ%5°cÓ%:Õ ;ð #rNr'r)rrrr:r:dr8rr:N) Ú
__future__rÚrrrr    rr,r6r:rrrú<module>r@sNðõ(#ç+Ñ+÷@ñ@ô$ ˆHô ô(AˆxôAô* <ô <ô  <õ <r