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 ã@sfddlmZmZmZGdd„dƒZGdd„deƒZGdd„deƒZGdd „d eƒZGd d „d eƒZd S) é)ÚImageÚ ImageFilterÚ ImageStatc@seZdZdd„ZdS)Ú_EnhancecCstj|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` )rZblendÚ degenerateÚimage)ÚselfÚfactor©r ú1/tmp/tmp5hum_rxs/lib64/python/PIL/ImageEnhance.pyÚenhances z_Enhance.enhanceN)Ú__name__Ú __module__Ú __qualname__r r r r r rsrc@seZdZdZdd„ZdS)Ú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|jƒkrd|_|j|jƒj|jƒ|_dS)NÚLÚAZLA)rZintermediate_modeÚgetbandsÚconvertÚmoder)rrr r r Ú__init__0s  zColor.__init__N)r rrÚ__doc__rr r r r r'src@seZdZdZdd„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. cCs`||_ttj|jdƒƒjddƒ}tjd|j|ƒj|j ƒ|_ d|j ƒkr\|j j |j dƒƒdS)Nrégà?r)rÚintrZStatrÚmeanrÚnewÚsizerrrÚputalphaÚ getchannel)rrrr r r rAs  zContrast.__init__N)r rrrrr r r r r9src@seZdZdZdd„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. cCs<||_tj|j|jdƒ|_d|jƒkr8|jj|jdƒƒdS)Nrr) rrrrrrrrr)rrr r r rRs zBrightness.__init__N)r rrrrr r r r r Jsr c@seZdZdZdd„ZdS)Ú Sharpnesszð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||_|jtjƒ|_d|jƒkr2|jj|jdƒƒdS)Nr)rÚfilterrZSMOOTHrrrr)rrr r r rbs zSharpness.__init__N)r rrrrr r r r r!Zsr!N) Úrrrrrrr r!r r r r Ús