1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Ë
³òúh%    ãóZ—ddlmZddlmZdZerddlmZGd„d«Z    d
                    d d    „Zy) é)Ú annotationsé)ÚImageF)ÚCallablecó0—eZdZdZdd„Zdd„Zd    d„Zd
d„Zy) Ú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«s d}t|«‚||_t|jdd«|_y)NÚseekzim must have seek methodÚ
_min_framer)ÚhasattrÚAttributeErrorÚimÚgetattrÚposition)ÚselfrÚmsgs   úDH:\Change_password\venv_build\Lib\site-packages\PIL/ImageSequence.pyÚ__init__zIterator.__init__&s7€Ür˜6Ô"Ø,ˆCÜ  Ó%Ð %؈ŒÜ §¡¨°qÓ9ˆ óc󐗠   |jj|«|jS#t$r}d}t|«|‚d}~wwxYw)Núend of sequence)rr
ÚEOFErrorÚ
IndexError)rÚixÚers    rÚ __getitem__zIterator.__getitem__-sA€ð    )Ø G‰GL‰L˜Ô Ø—7‘7ˆNøÜò    )Ø#ˆCܘS“/ qÐ (ûð    )ús‚&)©    A²AÁAcó—|S©N©)rs rÚ__iter__zIterator.__iter__5s€Øˆ rcóΗ    |jj|j«|xjdz c_|jS#t$r}d}t    |«|‚d}~wwxYw)Nrr)rr
rrÚ StopIteration)rrrs   rÚ__next__zIterator.__next__8sT€ð    ,Ø G‰GL‰L˜Ÿ™Ô 'Ø MŠM˜QÑ MØ—7‘7ˆNøÜò    ,Ø#ˆCÜ Ó$¨!Ð +ûð    ,ús‚AAÁ    A$ÁAÁA$N)rú Image.ImageÚreturnÚNone)rÚintr%r$)r%r)r%r$)Ú__name__Ú
__module__Ú __qualname__Ú__doc__rrr r#rrrrrs„ñ    ó:ó)óô,rrNcó—t|t«s|g}g}|D]M}|j«}|t|«Dcgc]}|j    «‘Œc}z }|j |«ŒO|r|Dcgc]
}||«‘Œ c}S|Scc}wcc}w)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.
    )Ú
isinstanceÚlistÚtellrÚcopyr
)rÚfuncÚimsÚ
imSequenceÚcurrentÚim_frames      rÚ
all_framesr6BsŠ€ô bœ$Ô ØˆTˆà
€CØò!ˆ
Ø—/‘/Ó#ˆà ´¸Ó0DÖE H— ‘ •ÒEÑEˆà‰˜Õ ð !ñ (,˜sÖ #˜‰DHÒ #Ð4°Ð4ùòFùò $s ¹BÁ.Br)rzImage.Image | list[Image.Image]r1z+Callable[[Image.Image], Image.Image] | Noner%zlist[Image.Image])    Ú
__future__rÚrÚ TYPE_CHECKINGÚcollections.abcrrr6rrrú<module>r;sGðõ"#åà€ ÙÝ(÷%,ñ%,ðT9=ð5Ø'ð5à
5ð5ðô5r