403Webshell
Server IP : 54.37.205.81  /  Your IP : 216.73.216.76
Web Server : nginx/1.22.1
System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64
User : debian ( 1000)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
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__/ImageSequence.cpython-311.pyc
�

�"�cP��(�Gd�d��Zdd�ZdS)c�*�eZdZdZd�Zd�Zd�Zd�ZdS)�Iteratora-
    This class implements an iterator object that can be used to loop
    over an image sequence.

    You can use the ``[]`` operator to access elements by index. This operator
    will raise an :py:exc:`IndexError` if you try to access a nonexistent
    frame.

    :param im: An image object.
    c��t|d��sd}t|���||_t|jdd��|_dS)N�seekzim must have seek method�
_min_frame�)�hasattr�AttributeError�im�getattr�position)�selfr
�msgs   �3/usr/lib/python3/dist-packages/PIL/ImageSequence.py�__init__zIterator.__init__sG���r�6�"�"�	&�,�C� ��%�%�%��������q�9�9��
�
�
�c�z�	|j�|��|jS#t$r
}t|�d}~wwxYw�N)r
r�EOFError�
IndexError)r
�ix�es   r�__getitem__zIterator.__getitem__&sI��	$��G�L�L������7�N���	$�	$�	$��!�#�����	$���s� #�
:�5�:c��|Sr�)r
s r�__iter__zIterator.__iter__-s���rc��	|j�|j��|xjdz
c_|jS#t$r
}t|�d}~wwxYw)N�)r
rrr�
StopIteration)r
rs  r�__next__zIterator.__next__0s[��	'��G�L�L���'�'�'��M�M�Q��M�M��7�N���	'�	'�	'��Q�&�����	'���s�58�
A�A
�
AN)�__name__�
__module__�__qualname__�__doc__rrrrrrrrrsZ������	�	�:�:�:�$�$�$����'�'�'�'�'rrNc����t|t��s|g}g}|D]G}|���}|d�t|��D��z
}|�|���H�r�fd�|D��n|S)a
    Applies a given function to all frames in an image or a list of images.
    The frames are returned as a list of separate images.

    :param im: An image, or a list of images.
    :param func: The function to apply to all of the image frames.
    :returns: A list of images.
    c�6�g|]}|�����Sr)�copy)�.0�im_frames  r�
<listcomp>zall_frames.<locals>.<listcomp>Is ��E�E�E�H��
�
���E�E�Erc�&��g|]
}�|����Srr)r'r
�funcs  �rr)zall_frames.<locals>.<listcomp>Ls!���#�#�#��D�D��H�H�#�#�#r)�
isinstance�list�tellrr)r
r+�ims�
imSequence�currents `   r�
all_framesr29s�����b�$�����T��
�C��!�!�
��/�/�#�#���E�E���0D�0D�E�E�E�E������ � � � �'+�4�#�#�#�#�s�#�#�#�#��4rr)rr2rrr�<module>r3sL��&#'�#'�#'�#'�#'�#'�#'�#'�L5�5�5�5�5�5r

Youez - 2016 - github.com/yon3zu
LinuXploit