intellecton/venv/lib/python3.12/site-packages/PIL/__pycache__/ImageEnhance.cpython-312.pyc

52 lines
5.3 KiB
Text
Raw Normal View History

<EFBFBD>
߼j+<00><01><><00>ddlmZddlmZmZmZGd<04>d<05>ZGd<06>de<06>ZGd<08>d e<06>ZGd
<EFBFBD>d e<06>Z Gd <0C>d e<06>Z
y)<0F>)<01> annotations<6E>)<03>Image<67> ImageFilter<65> ImageStatc<01>*<00>eZdZUded<ded<dd<04>Zy)<07>_Enhance<63> Image.Image<67>image<67>
degeneratec<01>X<00>tj|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>self<6C>factors <20>S/home/antigravity/intellecton/venv/lib/python3.12/site-packages/PIL/ImageEnhance.py<70>enhancez_Enhance.enhances<00><00><15>{<7B>{<7B>4<EFBFBD>?<3F>?<3F>D<EFBFBD>J<EFBFBD>J<EFBFBD><06>?<3F>?<3F>N)r<00>float<61>returnr
)<05>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__annotations__r<00>rrr r s<00><00> <16><16><1B><1B> @rr c<01><00>eZdZdZdd<02>Zy)<05>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<01><><00>||_d|_d|j<00>vrd|_|j|jk7r4|j |j<00>j |j<00>}||_y)N<>L<>A<>LA)r <00>intermediate_mode<64>getbands<64>mode<64>convertr <00>rr s r<00>__init__zColor.__init__4sd<00><00><1A><04>
<EFBFBD>!$<24><04><1E> <0E>%<25>.<2E>.<2E>"<22> "<22>%)<29>D<EFBFBD> "<22> <0F> !<21> !<21>U<EFBFBD>Z<EFBFBD>Z<EFBFBD> /<2F><19>M<EFBFBD>M<EFBFBD>$<24>"8<>"8<>9<>A<>A<>%<25>*<2A>*<2A>M<>E<EFBFBD><1F><04>rN<>r r
r<00>None<6E>rrr<00>__doc__r&rrrrr+s <00><00><08> rrc<01><00>eZdZdZdd<02>Zy)<05>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.
c<01>^<00>||_|jdk7r|jd<01>}tt j
|<01>j ddz<00>}tjd|j|<02>|_
|jj|jjk7r4|jj|jj<00>|_
d|jj<00>vr5|jj|jjd<04><00>yy)Nrrg<00>?r)r r#r$<00>intr<00>Stat<61>meanr<00>new<65>sizer r"<00>putalpha<68>
getchannel)rr r0s rr&zContrast.__init__Gs<><00><00><1A><04>
<EFBFBD> <10>:<3A>:<3A><13> <1C><19>M<EFBFBD>M<EFBFBD>#<23>&<26>E<EFBFBD><12>9<EFBFBD>><3E>><3E>%<25>(<28>-<2D>-<2D>a<EFBFBD>0<>3<EFBFBD>6<>7<><04><1F>)<29>)<29>C<EFBFBD><15><1A><1A>T<EFBFBD>:<3A><04><0F> <0F>?<3F>?<3F> <1F> <1F>4<EFBFBD>:<3A>:<3A>?<3F>?<3F> 2<>"<22>o<EFBFBD>o<EFBFBD>5<>5<>d<EFBFBD>j<EFBFBD>j<EFBFBD>o<EFBFBD>o<EFBFBD>F<>D<EFBFBD>O<EFBFBD> <0E>$<24>*<2A>*<2A>%<25>%<25>'<27> '<27> <10>O<EFBFBD>O<EFBFBD> $<24> $<24>T<EFBFBD>Z<EFBFBD>Z<EFBFBD>%:<3A>%:<3A>3<EFBFBD>%?<3F> @<40> (rNr'r)rrrr,r,?s <00><00><08>
Arr,c<01><00>eZdZdZdd<02>Zy)<05>
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.
c<01><><00>||_tj|j|jd<01>|_d|j <00>vr+|j
j|jd<02><00>yy)Nrr) r rr1r#r2r r"r3r4r%s rr&zBrightness.__init__\sV<00><00><1A><04>
<EFBFBD><1F>)<29>)<29>E<EFBFBD>J<EFBFBD>J<EFBFBD><05>
<EFBFBD>
<EFBFBD>A<EFBFBD>><3E><04><0F> <0E>%<25>.<2E>.<2E>"<22> "<22> <10>O<EFBFBD>O<EFBFBD> $<24> $<24>U<EFBFBD>%5<>%5<>c<EFBFBD>%:<3A> ;<3B> #rNr'r)rrrr6r6T<00> <00><00><08><rr6c<01><00>eZdZdZdd<02>Zy)<05> 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.
c<01><><00>||_|jtj<00>|_d|j <00>vr+|jj |jd<01><00>yy)Nr)r <00>filterr<00>SMOOTHr r"r3r4r%s rr&zSharpness.__init__lsP<00><00><1A><04>
<EFBFBD><1F>,<2C>,<2C>{<7B>'9<>'9<>:<3A><04><0F> <0E>%<25>.<2E>.<2E>"<22> "<22> <10>O<EFBFBD>O<EFBFBD> $<24> $<24>U<EFBFBD>%5<>%5<>c<EFBFBD>%:<3A> ;<3B> #rNr'r)rrrr:r:dr8rr:N) <0B>
__future__r<00>rrrr rr,r6r:rrr<00><module>r@sN<00><01>(#<23>+<2B>+<2B>@<01>@<01>$ <20>H<EFBFBD> <20>(A<01>x<EFBFBD>A<01>* <<3C><18> <<3C> <<3C><08> <r