Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/site-packages/PIL/__pycache__/ImageEnhance.cpython-37.pyc

53 lines
3.4 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
(U<>]~ <00>@shddlmZmZmZGdd<03>de<04>ZGdd<05>de<05>ZGdd<07>de<05>ZGdd <09>d e<05>ZGd
d <0B>d e<05>Z d S) <0A>)<03>Image<67> ImageFilter<65> ImageStatc@seZdZdd<02>ZdS)<04>_EnhancecCst<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`
)rZblend<6E>
degenerate<EFBFBD>image)<02>selfZfactor<6F>r <00>4/tmp/pip-install-pc7tm5jb/Pillow/PIL/ImageEnhance.py<70>enhances z_Enhance.enhanceN)<04>__name__<5F>
__module__<EFBFBD> __qualname__r r r r r
rsrc@seZdZdZdd<03>ZdS)<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.
cCs8||_d|_d|<01><02>krd|_|<01>|j<01><01>|j<04>|_dS)N<>L<>AZLA)rZintermediate_mode<64>getbands<64>convert<72>moder)rrr r r
<00>__init__0s
 zColor.__init__N)r r r<00>__doc__rr r r r
r'src@seZdZdZdd<03>ZdS)<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 grey image. A factor of 1.0 gives the original image.
cCs`||_tt<02>|<01>d<01><01>jdd<00>}t<06>d|j|<02><03>|j <09>|_
d|<01> <0B>kr\|j
<EFBFBD> |<01> d<04><01>dS)Nr<00>g<00>?r)r<00>intrZStatr<00>meanr<00>new<65>sizerrr<00>putalpha<68>
getchannel)rrrr r r
rAs
 zContrast.__init__N)r r rrrr r r r
r9src@seZdZdZdd<03>ZdS)<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.
cCs<||_t<01>|j|jd<01>|_d|<01><06>kr8|j<05>|<01>d<02><01>dS)Nrr) rrrrrrrrr)rrr r r
rRs zBrightness.__init__N)r r rrrr r r r
rJsrc@seZdZdZdd<03>ZdS)<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.
cCs6||_|<01>tj<03>|_d|<01><05>kr2|j<04>|<01>d<01><01>dS)Nr)r<00>filterrZSMOOTHrrrr)rrr r r
rbs zSharpness.__init__N)r r rrrr r r r
r Zsr N)
<EFBFBD>rrr<00>objectrrrrr r r r r
<00><module>s