__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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 SSKJr "SS5r"SS5r"SS	5r"S
S5r"SS
\5rg)�)�annotations�)�Imagec�,�\rSrSrSrSSjrSSjrSrg)	�HDC�z�
Wraps an HDC integer. The resulting object can be passed to the
:py:meth:`~PIL.ImageWin.Dib.draw` and :py:meth:`~PIL.ImageWin.Dib.expose`
methods.
c��Xlg�N��dc)�selfrs  �./usr/lib/python3/dist-packages/PIL/ImageWin.py�__init__�HDC.__init__s����c��UR$r
r�r
s r�__int__�HDC.__int__"s���w�w�rrN)r�int�return�None�rr��__name__�
__module__�__qualname__�__firstlineno__�__doc__rr�__static_attributes__�rrrrs����rrc�,�\rSrSrSrSSjrSSjrSrg)	�HWND�&z�
Wraps an HWND integer. The resulting object can be passed to the
:py:meth:`~PIL.ImageWin.Dib.draw` and :py:meth:`~PIL.ImageWin.Dib.expose`
methods, instead of a DC.
c��Xlgr
��wnd)r
r's  rr�
HWND.__init__-s���rc��UR$r
r&rs rr�HWND.__int__0s���x�x�rr&N)r'rrrrrr!rrr#r#&s����rr#c��\rSrSrSrSS
SjjrSSjrSSSjjrSSjrSSSjjr	SS	jr
SS
jrSrg)�Dib�4a�
A Windows bitmap with the given mode and size.  The mode can be one of "1",
"L", "P", or "RGB".

If the display requires a palette, this constructor creates a suitable
palette and associates it with the image. For an "L" image, 128 graylevels
are allocated. For an "RGB" image, a 6x6x6 colour cube is used, together
with 20 graylevels.

To make sure that palettes work properly under Windows, you must call the
``palette`` method upon certain events from Windows.

:param image: Either a PIL image, or a mode string. If a mode string is
              used, a size must also be given.  The mode can be one of "1",
              "L", "P", or "RGB".
:param size: If the first argument is a mode string, this
             defines the size of the image.
Nc��[U[5(aUnSnUc
Sn[U5eOURnURnUS;a[
R"U5n[
RRX25Ul	X0lX lU(a)[U[5(aeURU5 gg)N�z+If first argument is mode, size is required)�1�L�P�RGB)�
isinstance�str�
ValueError�mode�sizer�getmodebase�core�display�image�paste)r
r<r8r7�msgs     rr�Dib.__init__Hs����e�S�!�!��D��E��|�C�� ��o�%���:�:�D��:�:�D��-�-��$�$�T�*�D��Z�Z�'�'��3��
��	��	��!�%��-�-�-�-��J�J�u��rc�`�[U5n[U[5(aSURR	U5nURRU5 URR
X#5 gURRU5 g!URR
X#5 f=f)z�
Copy the bitmap contents to a device context.

:param handle: Device context (HDC), cast to a Python integer, or an
               HDC or HWND instance.  In PythonWin, you can use
               ``CDC.GetHandleAttrib()`` to get a suitable handle.
N)rr4r#r<�getdc�expose�	releasedc)r
�handle�
handle_intrs    rrB�
Dib.expose]s����[�
��f�d�#�#����!�!�*�-�B�
5��
�
�!�!�"�%��
�
�$�$�Z�4��J�J���j�)���
�
�$�$�Z�4�s�B�B-c��UcSUR-n[U5n[U[5(aTURRU5nURR
XRU5 URRXE5 gURR
XBU5 g!URRXE5 f=f)a5
Same as expose, but allows you to specify where to draw the image, and
what part of it to draw.

The destination and source areas are given as 4-tuple rectangles. If
the source is omitted, the entire image is copied. If the source and
the destination have different sizes, the image is resized as
necessary.
N)rr)r8rr4r#r<rA�drawrC)r
rD�dst�srcrErs      rrH�Dib.drawos����;��4�9�9�$�C���[�
��f�d�#�#����!�!�*�-�B�
5��
�
�����-��
�
�$�$�Z�4��J�J�O�O�J�S�1���
�
�$�$�Z�4�s�B$�$Cc�d�[U5n[U[5(aTURR	U5nURRU5nURR
X5 U$URRU5nU$!URR
X5 f=f)a
Installs the palette associated with the image in the given device
context.

This method should be called upon **QUERYNEWPALETTE** and
**PALETTECHANGED** events from Windows. If this method returns a
non-zero value, one or more display palette entries were changed, and
the image should be redrawn.

:param handle: Device context (HDC), cast to a Python integer, or an
               HDC or HWND instance.
:return: The number of entries that were changed (if one or more entries,
         this indicates that the image should be redrawn).
)rr4r#r<rA�
query_paletterC)r
rDrE�results    rrM�Dib.query_palette�s�����[�
��f�d�#�#��Z�Z�%�%�j�1�F�
5����1�1�&�9���
�
�$�$�V�4��
��Z�Z�-�-�j�9�F��
���
�
�$�$�V�4�s�B�B/c�4�UR5 URUR:waURUR5nU(a'URR	UR
U5 gURR	UR
5 g)a�
Paste a PIL image into the bitmap image.

:param im: A PIL image.  The size must match the target region.
           If the mode does not match, the image is converted to the
           mode of the bitmap image.
:param box: A 4-tuple defining the left, upper, right, and
            lower pixel coordinate.  See :ref:`coordinate-system`. If
            None is given instead of a tuple, all of the image is
            assumed.
N)�loadr7�convertr<r=�im)r
rS�boxs   rr=�	Dib.paste�s`��	���	��9�9��������D�I�I�&�B���J�J���R�U�U�C�(��J�J���R�U�U�#rc�:�URRU5 g)z�
Load display memory contents from byte data.

:param buffer: A buffer containing display data (usually
               data returned from :py:func:`~PIL.ImageWin.Dib.tobytes`)
N)r<�	frombytes)r
�buffers  rrW�
Dib.frombytes�s��	
�
�
���V�$rc�6�URR5$)za
Copy display memory contents to bytes object.

:return: A bytes object containing display data.
)r<�tobytesrs rr[�Dib.tobytes�s���z�z�!�!�#�#r)r<r7r8r
)r<zImage.Image | strr8ztuple[int, int] | Nonerr)rD�int | HDC | HWNDrr)rDr]rIztuple[int, int, int, int]rJ� tuple[int, int, int, int] | Nonerr)rDr]rr)rSzImage.ImagerTr^rr)rX�bytesrr)rr_)
rrrrrrrBrHrMr=rWr[r r!rrr,r,4s����(HL��&��.D��	
��**�,15�	2� �2�'�2�.�	2�

�2�6�6HL�$��$�$D�$�	
�$�,%�$rr,c�|�\rSrSrSrS
SSjjrSSjrSSjrSSjrSSjr	SS	jr
SS
jrSSjrSr
g)�Window��z*Create a Window with the given title size.Nc��[RRXRU=(d SU=(d S5Ulg)Nr)rr:�createwindow�_Window__dispatcher�hwnd)r
�title�width�heights    rr�Window.__init__�s/���J�J�+�+��$�$�e�j�q�&�+�A�
��	rc�(�[USU35"U6 g)N�
ui_handle_)�getattr)r
�action�argss   r�__dispatcher�Window.__dispatcher�s����
�6�(�+�,�d�3rc��gr
r!�r
r�x0�y0�x1�y1s      r�ui_handle_clear�Window.ui_handle_clear����rc��gr
r!)r
rtrurvrws     r�ui_handle_damage�Window.ui_handle_damage�rzrc��gr
r!rs r�ui_handle_destroy�Window.ui_handle_destroy�rzrc��gr
r!rss      r�ui_handle_repair�Window.ui_handle_repair�rzrc��gr
r!)r
rhris   r�ui_handle_resize�Window.ui_handle_resize�rzrc�@�[RR5 gr
)rr:�	eventlooprs r�mainloop�Window.mainloop�s��
�
�
���r)rf)�PILNN)rgr5rh�
int | Nonerir�rr)rnr5rorrr�rrrtrrurrvrrwrrr)
rtrrurrvrrwrrr)rr)rhrrirrr)rrrrrrrerxr|rr�r�r�r r!rrrara�sT��4�RV�
��
�)3�
�DN�
�	
�
�4�
�
�
�
�
�rrac�>^�\rSrSrSrSSU4SjjjrSSjrSrU=r$)	�ImageWindow��z6Create an image window which displays the given image.c�>�[U[5(d[U5nXlURup4[TU]X#US9 g)N)rhri)r4r,r<r8�superr)r
r<rgrhri�	__class__s     �rr�ImageWindow.__init__�s;����%��%�%���J�E��
��
�
�
��
����F��;rc�@�URRXX4U45 gr
)r<rHrss      rr��ImageWindow.ui_handle_repair�s���
�
������,�-r)r<)r�)r<zImage.Image | Dibrgr5rrr�)	rrrrrrr�r �
__classcell__)r�s@rr�r��s���@�<�<�.�.rr�N)	�
__future__rr/rrr#r,rar�r!rr�<module>r�sE��&#������U$�U$�p��@.�&�.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