Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
lib
/
python3
/
dist-packages
/
PIL
/
__pycache__
/
Filename :
ImageEnhance.cpython-310.pyc
back
Copy
o Z#�av � @ 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|�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 �blend� degenerate�image)�self�factor� r �2/usr/lib/python3/dist-packages/PIL/ImageEnhance.py�enhance s z_Enhance.enhanceN)�__name__� __module__�__qualname__r r r r r r s r c @ � 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|�� v rd| _|�| j��|j�| _d S )N�L�A�LA)r �intermediate_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 '