__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

"%vg*#����SSKJr SSKrSSKJr SSKJrJr SSKJ	r	J
r
JrJr \(aSSKJ
r
 "SS	5rSS
jrSSjrSSjrSSS
jjrSSSjjrSSSjjrSSSjjrSSjrg)�)�annotationsN)�Sequence)�IO�
TYPE_CHECKING�)�GimpGradientFile�GimpPaletteFile�
ImageColor�PaletteFile)�Imagec��\rSrSrSrSSSjjr\SSj5r\RSSj5r\SSj5r	\	RSSj5r	SS	jr
SS
jrSSjr\r
SSSjjrSSS
jjrSSjrSrg)�ImagePalette�a�
Color palette for palette mapped images

:param mode: The mode to use for the palette. See:
    :ref:`concept-modes`. Defaults to "RGB"
:param palette: An optional palette. If given, it must be a bytearray,
    an array or a list of ints between 0-255. The list must consist of
    all channels for one color followed by the next color (e.g. RGBRGBRGB).
    Defaults to an empty palette.
Nc�\�XlSUlU=(d
 [5UlSUlg�N)�mode�rawmode�	bytearray�palette�dirty)�selfrrs   �2/usr/lib/python3/dist-packages/PIL/ImagePalette.py�__init__�ImagePalette.__init__*s%��
�	�#'����-�)�+���!%��
�c��UR$r)�_palette�rs rr�ImagePalette.palette4s���}�}�rc��SUlXlgr)�_colorsr)rrs  rrr8s��:>����
rc�2�URc[UR5n0Ul[S[UR5U5H?n[URX"U-5nX0R;aM.X!-URU'MA UR$)Nr)r!�lenr�ranger�tuple)r�mode_len�i�colors    r�colors�ImagePalette.colors=s|���<�<���4�9�9�~�H��D�L��1�c�$�,�,�/��:���d�l�l�1�8�|�<�=���L�L�(��&'�m����U�#�	;�
�|�|�rc��Xlgr)r!)rr)s  rr)r*Is���rc���[5nURUlURUlURbURSSUlURUlU$r)rrrrr)r�news  r�copy�ImagePalette.copyMsH���n���9�9����l�l����<�<�#��,�,�q�/�C�K��J�J��	��
rc��UR(aURUR4$URUR54$)z�
Get palette contents in format suitable for the low-level
``im.putpalette`` primitive.

.. warning:: This method is experimental.
)rrr�tobytesrs r�getdata�ImagePalette.getdataXs3���<�<��<�<����-�-��y�y�$�,�,�.�(�(rc��UR(a
Sn[U5e[UR[5(aUR$[
R
"SUR5nUR
5$)zEConvert palette to bytes.

.. warning:: This method is experimental.
�!palette contains raw palette data�B)r�
ValueError�
isinstancer�bytes�arrayr1)r�msg�arrs   rr1�ImagePalette.tobytescsU��
�<�<�5�C��S�/�!��d�l�l�E�*�*��<�<���k�k�#�t�|�|�,���{�{�}�rc��[UR[5(d[UR5Ul[	UR5S-nSnU(aGUR
R
S5UR
R
S54nX4;aUS-
nX4;aMUS:�a`U(aE[[[UR5555HupVUS:XdM
XT;dMUn O US:�aSn[U5UeU$)	N���
background�transparencyr�rz$cannot allocate more than 256 colors)r8rrrr#�info�get�reversed�list�	enumerate�	histogramr7)r�image�e�index�special_colorsr'�countr;s        r�_new_color_index�ImagePalette._new_color_indexss����$�,�,�	�2�2�%�d�l�l�3�D�M��D�L�L�!�Q�&��CE����
�
���|�,��
�
���~�.��N��)���
���)��C�<�� (��i����8I�.J�)K� L�H�A���z�a�&=� !���!M���|�<�� ��o�1�,��rc� �UR(a
Sn[U5e[U[5(aoURS:Xa+[U5S:XaUSS:wa
Sn[U5eUSSnO$URS:Xa[U5S:XaUS	-
nURU$S[U53n[U5e![a�nURX$5n[UR[5(deXPRU'US-[UR5:a:URSUS-[U5-URUS-S-S-Ul	OU=R[U5-
sl	S
Ul
UsSnA$SnAff=f)zWGiven an rgb tuple, allocate palette entry.

.. warning:: This method is experimental.
r5�RGB�r?�z/cannot add non-opaque RGBA color to RGB paletteN�RGBA)rTrzunknown color specifier: )rr7r8r%rr#r)�KeyErrorrOrrrr9r�repr)rr(rJr;rKrLs      r�getcolor�ImagePalette.getcolor�sn���<�<�5�C��S�/�!��e�U�#�#��y�y�E�!��u�:��?��Q�x�3��O��(��o�-�!�"�1�I�E�����f�$��u�:��?��V�O�E�
��{�{�5�)�)�".�d�5�k�]�;�C��S�/�!��#�
��-�-�e�7��!�$�-�-��;�;�;�;�%*���E�"��1�9�s�4�<�<�0�0��
�
�k���	�2���,�'��-�-���	�A�
��8�9��M��M�M�U�5�\�1�M���
����
�s�B<�<
F
�B<F�F
�F
c�x�UR(a
Sn[U5e[U[5(a[	US5nURS5 URSURS35 [S5H�nURU5 [U[UR5-US-[UR5-5H%nURSURU35 M' URS5 M� UR5 g
![a URS	5 Mmf=f)zFSave palette to text file.

.. warning:: This method is experimental.
r5�wz
# Palette
z# Mode: �
rCr� z 0N)rr7r8�str�open�writerr$r#r�
IndexError�close)r�fpr;r'�js     r�save�ImagePalette.save�s���
�<�<�5�C��S�/�!��b�#����b�#��B�
�����
���8�D�I�I�;�b�)�*��s��A��H�H��s���1�s�4�9�9�~�-��A���T�Y�Y��/G�H��#��H�H�q����a�� 1�2�3�I�

�H�H�T�N��	���
��"�#��H�H�T�N�#�s�!D�D9�8D9)r!rrrrr)rRN)rr^rz(Sequence[int] | bytes | bytearray | None�return�None)rg�!Sequence[int] | bytes | bytearray)rrirgrh)rg�dict[tuple[int, ...], int])r)rjrgrh)rgr)rgz-tuple[str, Sequence[int] | bytes | bytearray])rgr9)NN)rJ�Image.Image | NonerKzException | Nonerg�intr)r(ztuple[int, ...]rJrkrgrl)rcz
str | IO[str]rgrh)�__name__�
__module__�__qualname__�__firstlineno__�__doc__r�propertyr�setterr)r.r2r1�tostringrOrXre�__static_attributes__r@rrrrs���	��<@�&��&�:�&�
�	&�����
�^�^� �� ��	��	��]�]����	�	)���H�GK��'��3C��	��:%)�)"��)"�"�)"�

�	)"�Vrrc�@�[5nXlXlSUlU$)Nr)rrrr)r�datars   r�rawrx�s���n�G��O��O��G�M��Nrc��US:Xa*[S5Vs/sHn[X-S-5PM sn$Sn[U5es snf)NrrCrTz"unavailable when black is non-zero)r$rl�NotImplementedError)�black�whiter'r;s    r�make_linear_lutr}�sC����z�/4�S�z�:�z�!��E�I��$�%�z�:�:�
.�C�
�c�
"�"��;s�>c�n�[S5Vs/sHn[US-U-S-S-5PM sn$s snf)NrCg�o@g�?)r$rl)�expr's  r�make_gamma_lutr��s6��=B�3�Z�H�Z��C�!�e�)��#�u�,�s�2�3�Z�H�H��Hs�!2c
��[[S[U5-55nUR5 [	XVs/sHo"[U5-PM sn5$s snf�NrC)rGr$r#�reverser�rrr's   r�negativer��sH���5��s�4�y��)�*�G��O�O����w�?�w�!�C��I�~�w�?�@�@��?s�A
c��SSKJn [S[U5-5Vs/sHo!"SS5PM
 nn[	X5$s snf)Nr)�randintrCrT)�randomr�r$r#r)rr��_rs    rr�r��s?���(-�c�C��I�o�(>�?�(>�1�w�q�#��(>�G�?���&�&��@s�?c	���[R"U5Vs/sHn[SU5PM nn[S[	S5Vs/sHo2US-US-PM sn5$s snfs snf)NrrRir?)r
�getrgbr}rr$)r|�band�bandsr's    r�sepiar��sb��2<�2C�2C�E�2J�K�2J�$�_�Q��
%�2J�E�K���e�G�n�M�n��a�!�e��Q�!�V� 4�n�M�N�N��
L��Ms�A"�A'
c
��[[S[U5-55n[XVs/sHo"[U5-PM sn5$s snfr�)rGr$r#rr�s   r�wedger��s>���5��s�4�y��)�*�G���w�?�w�!�C��I�~�w�?�@�@��?s�A
c�p�[US5n[R[R[R/nUH4nUR	S5 U"U5R5nU(a OM6 Sn[U5eSSS5 U$![[4a Mcf=f!,(df   W$=f)N�rbrzcannot load palette)	r_r	rr�seek�
getpalette�SyntaxErrorr7�OSError)�filenamerc�paletteHandlers�paletteHandler�lutr;s      r�loadr�s���
�h��	��
�+�+��-�-��#�#�
�
	�.�N�
�����
�$�R�(�3�3�5�����	.�(�C��#�,���#
�0�J��
 ��,�
��
��%
�	�0�J�s/�5B&�.B�1B&�B#�B&�"B#�#B&�&
B5)rr^rwrirgr)r{rlr|�floatrg�	list[int])rr�rgr�)rR)rr^rgr)z#fff0c0)r|r^rgr)r�r^rgztuple[bytes, str])�
__future__rr:�collections.abcr�typingrr�rr	r
rrrrxr}r�r�r�r�r�r�r@rr�<module>r�sX��$#��$�$�H�H���n�n�j�#�I�A�'�O�
A�
r

Filemanager

Name Type Size Permission Actions
BdfFontFile.cpython-313.pyc File 4.28 KB 0644
BlpImagePlugin.cpython-313.pyc File 23.93 KB 0644
BmpImagePlugin.cpython-313.pyc File 17.97 KB 0644
BufrStubImagePlugin.cpython-313.pyc File 2.68 KB 0644
ContainerIO.cpython-313.pyc File 6.72 KB 0644
CurImagePlugin.cpython-313.pyc File 2.37 KB 0644
DcxImagePlugin.cpython-313.pyc File 2.73 KB 0644
DdsImagePlugin.cpython-313.pyc File 22.58 KB 0644
EpsImagePlugin.cpython-313.pyc File 15.76 KB 0644
ExifTags.cpython-313.pyc File 11.43 KB 0644
FitsImagePlugin.cpython-313.pyc File 6.06 KB 0644
FliImagePlugin.cpython-313.pyc File 6.76 KB 0644
FontFile.cpython-313.pyc File 4.45 KB 0644
FpxImagePlugin.cpython-313.pyc File 7.66 KB 0644
FtexImagePlugin.cpython-313.pyc File 5.25 KB 0644
GbrImagePlugin.cpython-313.pyc File 3.68 KB 0644
GdImageFile.cpython-313.pyc File 3.35 KB 0644
GifImagePlugin.cpython-313.pyc File 44.88 KB 0644
GimpGradientFile.cpython-313.pyc File 5.35 KB 0644
GimpPaletteFile.cpython-313.pyc File 2.12 KB 0644
GribStubImagePlugin.cpython-313.pyc File 2.68 KB 0644
Hdf5StubImagePlugin.cpython-313.pyc File 2.65 KB 0644
IcnsImagePlugin.cpython-313.pyc File 17 KB 0644
IcoImagePlugin.cpython-313.pyc File 14.92 KB 0644
ImImagePlugin.cpython-313.pyc File 12.76 KB 0644
Image.cpython-313.pyc File 165.73 KB 0644
ImageChops.cpython-313.pyc File 10.63 KB 0644
ImageCms.cpython-313.pyc File 42.28 KB 0644
ImageColor.cpython-313.pyc File 12.22 KB 0644
ImageDraw.cpython-313.pyc File 43.5 KB 0644
ImageDraw2.cpython-313.pyc File 9.43 KB 0644
ImageEnhance.cpython-313.pyc File 5.28 KB 0644
ImageFile.cpython-313.pyc File 30.8 KB 0644
ImageFilter.cpython-313.pyc File 22.79 KB 0644
ImageFont.cpython-313.pyc File 65.84 KB 0644
ImageGrab.cpython-313.pyc File 6.56 KB 0644
ImageMath.cpython-313.pyc File 15.95 KB 0644
ImageMode.cpython-313.pyc File 2.75 KB 0644
ImageMorph.cpython-313.pyc File 11.03 KB 0644
ImageOps.cpython-313.pyc File 28.21 KB 0644
ImagePalette.cpython-313.pyc File 12.04 KB 0644
ImagePath.cpython-313.pyc File 306 B 0644
ImageQt.cpython-313.pyc File 8.46 KB 0644
ImageSequence.cpython-313.pyc File 3.33 KB 0644
ImageShow.cpython-313.pyc File 13.72 KB 0644
ImageStat.cpython-313.pyc File 7.13 KB 0644
ImageTransform.cpython-313.pyc File 5.19 KB 0644
ImageWin.cpython-313.pyc File 11.44 KB 0644
ImtImagePlugin.cpython-313.pyc File 2.55 KB 0644
IptcImagePlugin.cpython-313.pyc File 8.91 KB 0644
Jpeg2KImagePlugin.cpython-313.pyc File 18.34 KB 0644
JpegImagePlugin.cpython-313.pyc File 33.72 KB 0644
JpegPresets.cpython-313.pyc File 7.9 KB 0644
McIdasImagePlugin.cpython-313.pyc File 2.23 KB 0644
MicImagePlugin.cpython-313.pyc File 3.85 KB 0644
MpegImagePlugin.cpython-313.pyc File 3.68 KB 0644
MpoImagePlugin.cpython-313.pyc File 8.04 KB 0644
MspImagePlugin.cpython-313.pyc File 5.87 KB 0644
PSDraw.cpython-313.pyc File 7.67 KB 0644
PaletteFile.cpython-313.pyc File 1.9 KB 0644
PalmImagePlugin.cpython-313.pyc File 9.46 KB 0644
PcdImagePlugin.cpython-313.pyc File 2.05 KB 0644
PcfFontFile.cpython-313.pyc File 9.68 KB 0644
PcxImagePlugin.cpython-313.pyc File 7.27 KB 0644
PdfImagePlugin.cpython-313.pyc File 9.64 KB 0644
PdfParser.cpython-313.pyc File 52.78 KB 0644
PixarImagePlugin.cpython-313.pyc File 1.94 KB 0644
PngImagePlugin.cpython-313.pyc File 61.98 KB 0644
PpmImagePlugin.cpython-313.pyc File 14.13 KB 0644
PsdImagePlugin.cpython-313.pyc File 10.81 KB 0644
QoiImagePlugin.cpython-313.pyc File 6.02 KB 0644
SgiImagePlugin.cpython-313.pyc File 8.37 KB 0644
SpiderImagePlugin.cpython-313.pyc File 12.27 KB 0644
SunImagePlugin.cpython-313.pyc File 3.42 KB 0644
TarIO.cpython-313.pyc File 1.86 KB 0644
TgaImagePlugin.cpython-313.pyc File 8.11 KB 0644
TiffImagePlugin.cpython-313.pyc File 99.07 KB 0644
TiffTags.cpython-313.pyc File 18.43 KB 0644
WalImageFile.cpython-313.pyc File 4.01 KB 0644
WebPImagePlugin.cpython-313.pyc File 13.27 KB 0644
WmfImagePlugin.cpython-313.pyc File 6.19 KB 0644
XVThumbImagePlugin.cpython-313.pyc File 2.61 KB 0644
XbmImagePlugin.cpython-313.pyc File 4.05 KB 0644
XpmImagePlugin.cpython-313.pyc File 4.2 KB 0644
__init__.cpython-313.pyc File 1.98 KB 0644
__main__.cpython-313.pyc File 346 B 0644
_binary.cpython-313.pyc File 3.24 KB 0644
_deprecate.cpython-313.pyc File 2.37 KB 0644
_tkinter_finder.cpython-313.pyc File 745 B 0644
_typing.cpython-313.pyc File 2.14 KB 0644
_util.cpython-313.pyc File 1.5 KB 0644
_version.cpython-313.pyc File 222 B 0644
features.cpython-313.pyc File 13.58 KB 0644
report.cpython-313.pyc File 278 B 0644
Filemanager