+
    UBi+                        ^ 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                  8    ] 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/# )   factorfloatreturnr	    )formats   "5/usr/lib/python3.14/site-packages/PIL/ImageEnhance.py__annotate___Enhance.__annotate__   s     @ @e @ @    c                Z    \         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   blendr   r
   )selfr   s   &&r   enhance_Enhance.enhance   s     {{4??DJJ??r   r   N)__name__
__module____qualname____firstlineno____annotations__r   __static_attributes__r   r   r   r   r      s    @ @r   r   c                  &    ] 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                    V ^8  d   QhRRRR/# r   r
   r	   r   Noner   )r   s   "r   r   Color.__annotate__4   s        k  d  r   c                	   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ALAN)r
   intermediate_modegetbandsmodeconvertr   r   r
   s   &&r   __init__Color.__init__4   s`    
!$%..""%)D"!!UZZ/MM$"8"89AA%**MEr   )r   r
   r,   Nr   r   r   r   __doc__r1   r!   r   r   r   r#   r#   +   s       r   r#   c                  &    ] 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                    V ^8  d   QhRRRR/# r%   r   )r   s   "r   r   Contrast.__annotate__G   s     
A 
Ak 
Ad 
Ar   c                	   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/   intr   Statmeanr   newsizer   r-   putalpha
getchannel)r   r
   r<   s   && r   r1   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
   Nr3   r   r   r   r6   r6   ?   s    
A 
Ar   r6   c                  &    ] 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                    V ^8  d   QhRRRR/# r%   r   )r   s   "r   r   Brightness.__annotate__\        < <k <d <r   c                	    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@   r0   s   &&r   r1   Brightness.__init__\   sT    
))EJJ

A>%..""OO$$U%5%5c%:; #r   rB   Nr3   r   r   r   rD   rD   T       < <r   rD   c                  &    ] 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                    V ^8  d   QhRRRR/# r%   r   )r   s   "r   r   Sharpness.__annotate__l   rG   r   c                	    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
   filterr   SMOOTHr   r-   r?   r@   r0   s   &&r   r1   Sharpness.__init__l   sN    
,,{'9'9:%..""OO$$U%5%5c%:; #r   rB   Nr3   r   r   r   rL   rL   d   rJ   r   rL   N)
__future__r    r   r   r   r   r#   r6   rD   rL   r   r   r   <module>rU      sN   ( # + +@ @$ H  (Ax A*< < < <r   