Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
iav ã @ sf d dl mZmZmZ G dd„ dƒZG dd„ deƒZG dd„ deƒZG dd „ d eƒZG d
d„ deƒZdS )
é )ÚImageÚImageFilterÚ ImageStatc @ s e Zd Zdd„ ZdS )Ú_Enhancec C s t j| 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 ZblendÚ
degenerateÚimage)ÚselfÚfactor© r
ú1/tmp/tmp5hum_rxs/lib64/python/PIL/ImageEnhance.pyÚenhance s z_Enhance.enhanceN)Ú__name__Ú
__module__Ú__qualname__r r
r
r
r r s r c @ s e Zd ZdZdd„ ZdS )ÚColora Adjust 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 C s8 || _ d| _d|jƒ krd| _|j| jƒj|jƒ| _d S )NÚLÚAZLA)r Zintermediate_modeÚgetbandsÚconvertÚmoder )r r r
r
r Ú__init__0 s
zColor.__init__N)r
r r Ú__doc__r r
r
r
r r ' s r c @ s e Zd ZdZdd„ ZdS )Ú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 grey image. A factor of 1.0 gives the original image.
c C s` || _ ttj|jdƒƒjd d ƒ}tjd|j|ƒj|j ƒ| _
d|jƒ kr\| j
j|j
dƒƒ d S )Nr é g à?r )r Úintr ZStatr Úmeanr ÚnewÚsizer r r ÚputalphaÚ
getchannel)r r r r
r
r r A s
zContrast.__init__N)r
r r r r r
r
r
r r 9 s r c @ s e Zd ZdZdd„ ZdS )Ú
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 C s<