403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/PIL/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/PIL/__pycache__/GdImageFile.cpython-39.pyc
a

h�a�	�@sPdZddlmZmZmZddlmZddlmZ	Gdd�dej�Z
ddd	�Zd
S)a�
.. note::
    This format cannot be automatically recognized, so the
    class is not registered for use with :py:func:`PIL.Image.open()`.  To open a
    gd file, use the :py:func:`PIL.GdImageFile.open()` function instead.

.. warning::
    THE GD FORMAT IS NOT DESIGNED FOR DATA INTERCHANGE.  This
    implementation is provided for convenience and demonstrational
    purposes only.
�)�	ImageFile�ImagePalette�UnidentifiedImageError)�i16be)�i32bec@s eZdZdZdZdZdd�ZdS)�GdImageFilea%
    Image plugin for the GD uncompressed format.  Note that this format
    is not supported by the standard :py:func:`PIL.Image.open()` function.  To use
    this plugin, you have to import the :py:mod:`PIL.GdImageFile` module and
    use the :py:func:`PIL.GdImageFile.open()` function.
    ZGDzGD uncompressed imagescCs�|j�d�}t|�dvr td��d|_t|d�t|d�f|_|d}|rLdnd}t|d	|�}|d
krp||jd<t�	d|d	|dd	|dd
��|_
dd|jd	|dd
dfg|_dS)Ni
)i��i��zNot a valid GD 2.x .gd file�L������ZtransparencyZXBGRi�raw)rr)rrr)
�fp�read�i16�SyntaxError�mode�_size�i32�inforrZpalette�sizeZtile)�self�sZ	trueColorZtrueColorOffsetZtindex�r�3/usr/lib/python3.9/site-packages/PIL/GdImageFile.py�_open.s
 ��zGdImageFile._openN)�__name__�
__module__�__qualname__�__doc__�formatZformat_descriptionrrrrrr#sr�rc
CsN|dkrtd��z
t|�WStyH}ztd�|�WYd}~n
d}~00dS)a)
    Load texture from a GD image file.

    :param filename: GD file name, or an opened file handle.
    :param mode: Optional mode.  In this version, if the mode argument
        is given, it must be "r".
    :returns: An image instance.
    :raises OSError: If the image could not be read.
    r#zbad modezcannot identify this image fileN)�
ValueErrorrrr)rr�errr�openJs

r&N)r#)r!�rrrZ_binaryrrrrrr&rrrr�<module>s

'

Youez - 2016 - github.com/yon3zu
LinuXploit