*ec@sdZddlmZmZmZmZejZejZej Z ej Z dZ dejfdYZ ejde e ejddejddd S( s0.2i(tImaget ImageFilet ImagePalettet_binarycCst|dd!dkS(Niiii(ii(ti16(tprefix((s8/usr/lib64/python2.7/site-packages/PIL/FliImagePlugin.pyt_acceptst FliImageFilecBs8eZdZdZdZdZdZdZRS(tFLIsAutodesk FLI/FLC Animationc Csh|jjd}t|dd!}|dkoZt|dd!dkoZ|d d !d ksltd nd|_t|dd!t|dd!f|_t|dd !}|dkr|dd}n||jd}t||d|>}t||d|>} ||| f||<|d}qWq%WdS(Niiiii(RRRRti8tlen( RRtshifttiteR tnR#R$R%((s8/usr/lib64/python2.7/site-packages/PIL/FliImagePlugin.pyR\s%  cCs||jdkr&td|n||_|j|_|jj|j|jjd}|sotnt|}||_ dd|j |jdfg|_ |j||_dS(Niscannot seek to frame %ditflii(ii( Rt ValueErrorRRRRRtEOFErrorRtdecodermaxblockRtNonettile(RRR t framesize((s8/usr/lib64/python2.7/site-packages/PIL/FliImagePlugin.pyRns     "cCs|jS(N(R(R((s8/usr/lib64/python2.7/site-packages/PIL/FliImagePlugin.pyttells(t__name__t __module__tformattformat_descriptionR&RRR4(((s8/usr/lib64/python2.7/site-packages/PIL/FliImagePlugin.pyR&s  1  Rs.flis.flcN(t __version__tPILRRRRR'ti16leRti32leRRRRt register_opentregister_extension(((s8/usr/lib64/python2.7/site-packages/PIL/FliImagePlugin.pyts"     d