Files
sirh/venv/lib/python3.12/site-packages/PIL/__pycache__/ImageSequence.cpython-312.pyc

34 lines
3.3 KiB
Plaintext
Raw Normal View History

2026-04-29 11:52:03 +02:00
<EFBFBD>
<00><><EFBFBD>i<EFBFBD><00><01>Z<00>ddlmZddlmZdZerddlmZGd<06>d<07>Z d
d d <09>Zy) <0C>)<01> annotations<6E>)<01>ImageF)<01>Callablec<01>0<00>eZdZdZdd<02>Zdd<03>Zd d<04>Zd
d<05>Zy) <0B>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<01>|<00>t|d<01>s d}t|<02><00>||_t|jdd<04>|_y)N<>seekzim must have seek method<6F>
_min_framer)<05>hasattr<74>AttributeError<6F>im<69>getattr<74>position)<03>selfr<00>msgs <20>N/home/fatima/modif/sirh/venv/lib/python3.12/site-packages/PIL/ImageSequence.py<70>__init__zIterator.__init__&s7<00><00><16>r<EFBFBD>6<EFBFBD>"<22>,<2C>C<EFBFBD> <20><13>%<25> %<25><14><04><07><1F><04><07><07><1C>q<EFBFBD>9<><04> <0A>c<01><><00> |jj|<01>|jS#t$r}d}t|<03>|<02>d}~wwxYw)N<>end of sequence)rr
<00>EOFError<6F>
IndexError)r<00>ix<69>ers r<00> __getitem__zIterator.__getitem__-sA<00><00> )<29> <10>G<EFBFBD>G<EFBFBD>L<EFBFBD>L<EFBFBD><12> <1C><17>7<EFBFBD>7<EFBFBD>N<EFBFBD><4E><17> )<29>#<23>C<EFBFBD><1C>S<EFBFBD>/<2F>q<EFBFBD> (<28><> )<29>s<00>&)<00> A<03>A<03>Ac<01><00>|S<00>N<>)rs r<00>__iter__zIterator.__iter__5s<00><00><13> rc<01><><00> |jj|j<00>|xjdz c_|jS#t$r}d}t |<02>|<01>d}~wwxYw)Nrr)rr
rr<00> StopIteration)rrrs r<00>__next__zIterator.__next__8sT<00><00> ,<2C> <10>G<EFBFBD>G<EFBFBD>L<EFBFBD>L<EFBFBD><14><1D><1D> '<27> <10>M<EFBFBD>M<EFBFBD>Q<EFBFBD> <1E>M<EFBFBD><17>7<EFBFBD>7<EFBFBD>N<EFBFBD><4E><17> ,<2C>#<23>C<EFBFBD><1F><03>$<24>!<21> +<2B><> ,<2C>s<00>AA<00> A$<03>A<03>A$N)r<00> Image.Image<67>return<72>None)r<00>intr%r$)r%r)r%r$)<08>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__rrr r#rrrrrs<00><00> <08>:<3A>)<29><14>,rrNc<01><00>t|t<00>s|g}g}|D]M}|j<00>}|t|<03>D<00>cgc]}|j <00><00><02>c}z }|j |<04><00>O|r|D<00>cgc]
}||<00><00><02> 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.
)<06>
isinstance<EFBFBD>list<73>tellr<00>copyr
)r<00>func<6E>ims<6D>
imSequence<EFBFBD>current<6E>im_frames r<00>
all_framesr6Bs<><00><00> <16>b<EFBFBD>$<24> <1F><10>T<EFBFBD><02>
<0C>C<EFBFBD><18>!<21>
<EFBFBD><1C>/<2F>/<2F>#<23><07> <0B><08><1A>0D<30>E<>H<EFBFBD><08> <0A> <0A><0F>E<>E<><03><12><0F><0F><07> <20> !<21> (,<2C>s<EFBFBD> #<23><12>D<EFBFBD><12>H<EFBFBD> #<23>4<><13>4<><34>F<01><> $s <00>B<08>.Br)rzImage.Image | list[Image.Image]r1z+Callable[[Image.Image], Image.Image] | Noner%zlist[Image.Image]) <09>
__future__r<00>r<00> TYPE_CHECKING<4E>collections.abcrrr6rrr<00><module>r;sG<00><01>"#<23><13><15> <0A><10>(<28>%,<2C>%,<2C>T9=<3D>5<>'<27>5<>
5<EFBFBD>5<><17>5r