Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
DcxImagePlugin.cpython-313.pyc14 linesDownload Raw Back to __pycache__
1�

2v�j�����SSKJr SSKJr SSKJr SSKJr SSK	J3r4 SrS
Sjr"S	S5\65r
\R"\
R\
\5 \R "\
RS5 g)�)�annotations�)�Image)�i32le)�
DeferredError)�PcxImageFilei�h�:c�P�[U5S:�=(a [U5[:H$)N�)�len�i32�MAGIC)�prefixs �XD:\code\apps\devtools\python\user_packages\Python313\site-packages\PIL/DcxImagePlugin.py�_acceptr!s���v�;�!��4��F��u� 4�4�c�>�\rSrSrSrSrSrS7SjrSSjrSSjr	Sr8g	)
�DcxImageFile�)�DCXz	Intel DCXFc��URceURRS5n[U5(d
Sn[U5e/Ul[S5HKn[
URRS55nU(d OURRU5 MM URUlSUl	[UR5UlURS:�UlURS5 g)Nr9znot a DCX filei�����rr)�fp�readr�SyntaxError�_offset�ranger�append�_fp�framer�n_frames�is_animated�seek)�self�s�msg�i�offsets     r�_open�DcxImageFile._open.s����w�w�"�"�"��G�G�L�L��O���q�z�z�"�C��c�"�"�����t��A�������a��)�F����L�L����'�	��7�7�����10��D�L�L�)��
��=�=�1�,����	�	�!�rc�F�URU5(dg[UR[5(aURReXlURUlURRURU5 [R"U5 g�N)�_seek_check�11isinstancerr�exrrr"rrr()r#rs  rr"�DcxImageFile.seekDsl������&�&���d�h�h�
�.�.��(�(�+�+���12��(�(��������T�\�\�%�(�)����4� rc��UR$r+)r)r#s r�tell�DcxImageFile.tellNs���z�z�r)rrrrr!r N)�return�None)r�intr3r4)r3r5)�__name__�13__module__�__qualname__�__firstlineno__�format�format_description�!_close_exclusive_fp_after_loadingr(r"r1�__static_attributes__�rrrr)s"��
�F�$��(-�%��,!�rrz.dcxN)r�bytesr3�bool)�14__future__r�r�_binaryrr�_utilr�PcxImagePluginrr
rr�
register_openr:�register_extensionr>rr�<module>rHs]��.#��!� �(���5�&�<�&�R���L�'�'��w�?�����,�,�f�5r
codekingpro/portable-devtools · Team Ai