+
     i+  c                  s    ^ RI Ht ^RIHtHtHt  ! R R4      t ! R R]4      t ! R R]4      t ! R	 R
]4      t	 ! R R]4      t
R# )    )annotations)ImageImageFilter	ImageStatc                  s8    ] tR t^t$ R]R&   R]R&   R R ltRtR# )_EnhanceImage.Imageimage
degeneratec                    V ^8  d   QhRRRR/# )   factorZfloatreturnr    Zformat   "7/usr/lib64/python3.14/site-packages/PIL/ImageEnhance.py__annotate__Z_Enhance.__annotate__   s     @ @e @ @    c                sZ    \         P                  ! V P                  V P                  V4      # )au  
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   Zblendr   r   )selfr      &&r   enhanceZ_Enhance.enhance   s     {{4??DJJ??r   r   N)__name__
__module____qualname____firstlineno__Z__annotations__r   __static_attributes__r   r   r   r   r      s    @ @r   r   c                  s&    ] tR t^+tRtR R ltRtR# )ColorzAdjust 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               r	   r
   r   r   r   ZNoner   r   r   r   r   ZColor.__annotate__4   s        k  d  r   c                	s   Wn         R V n        RVP                  4       9   d   RV n        V P                  VP                  8w  d5   VP	                  V P                  4      P	                  VP                  4      pWn        R# )LAZLAN)r   intermediate_modegetbandsmodeconvertr   r   r   r   r   __init__ZColor.__init__4   s`    
!$%..""%)D"!!UZZ/MM$"8"89AA%**MEr   )r   r   r   Nr   r   r   r   Z__doc__r$   r   r   r   r   r   r   +   s       r   r   c                  s&    ] tR t^?tRtR R ltRtR# )ContrastzAdjust 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               r	   r   r   r   r   r   r   ZContrast.__annotate__G   s     
A 
Ak 
Ad 
Ar   c                	s   Wn         VP                  R 8w  d   VP                  R 4      p\        \        P
                  ! V4      P                  ^ ,          R,           4      p\        P                  ! R VP                  V4      V n
        V P                  P                  V P                   P                  8w  d5   V P                  P                  V P                   P                  4      V n
        RV P                   P                  4       9   d7   V P                  P                  V P                   P                  R4      4       R# R# )r   g      ?r   N)r   r!   r"   Zintr   ZStatmeanr   newsizer   r    putalpha
getchannel)r   r   r'   s   && r   r$   ZContrast.__init__G   s    
::MM#&E9>>%(--a0367))CT:??4::??2"oo55djjooFDO$**%%''OO$$TZZ%:%:3%?@ (r   r   r   Nr%   r   r   r   r&   r&   ?   s    
A 
Ar   r&   c                  s&    ] tR t^TtRtR R ltRtR# )
BrightnesszAdjust 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               r	   r   r   r   r   r   r   ZBrightness.__annotate__\        < <k <d <r   c                	s    Wn         \        P                  ! VP                  VP                  ^ 4      V n        RVP                  4       9   d-   V P
                  P                  VP                  R4      4       R# R# )r    r   N)	r   r   r(   r!   r)   r   r    r*   r+   r#   r   r   r$   ZBrightness.__init__\   sT    
))EJJ

A>%..""OO$$U%5%5c%:; #r   r,   Nr%   r   r   r   r-   r-   T       < <r   r-   c                  s&    ] tR t^dtRtR R ltRtR# )	SharpnesszAdjust 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               r	   r   r   r   r   r   r   ZSharpness.__annotate__l   r.   r   c                	s    Wn         VP                  \        P                  4      V n        R VP                  4       9   d-   V P                  P                  VP                  R 4      4       R# R# )r   N)r   Zfilterr   ZSMOOTHr   r    r*   r+   r#   r   r   r$   ZSharpness.__init__l   sN    
,,{'9'9:%..""OO$$U%5%5c%:; #r   r,   Nr%   r   r   r   r0   r0   d   r/   r   r0   N)Z
__future__r   Z r   r   r   r   r   r&   r-   r0   r   r   r   <module>r1      sN   ( # + +@ @$ H  (Ax A*< < < <r   