%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/PIL/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/PIL/__pycache__/PaletteFile.cpython-312.pyc

�

��e���0�ddlmZddlmZGd�d�Zy)�)�annotations�)�o8c� �eZdZdZdZd�Zd�Zy)�PaletteFilez-File handler for Teragon-style palette files.�RGBc��td�D�cgc]}|||f��	c}|_	|j�}|sn�|dddk(r�t|�dkDr
d}t	|��|j�D�cgc]
}t
|���}}	|\}}}}	d|cxkrdkr3nn0t|�t|�zt|	�z|j|<��dj|j�|_ycc}wcc}w#t$r|\}}|x}}	Y�~wxYw)	N�r�#�dzbad palette filer��)
�range�palette�readline�len�SyntaxError�split�int�
ValueErrorr�join)
�self�fp�i�s�msg�x�v�r�g�bs
          �1/usr/lib/python3/dist-packages/PIL/PaletteFile.py�__init__zPaletteFile.__init__s��+0��:�6�a��A�q�	�6�������
�A�����!�u��}���1�v��|�(��!�#�&�&�!"����+�A��Q��+�A�+�
� ���A�q�!�
�A�}��}�"$�Q�%�"�Q�%�-�"�Q�%�"7����Q��'�*�x�x����-����/7��,���
����A��	��A�
�s�C(�,C-�C2�2D�Dc�2�|j|jfS)N)r�rawmode)rs r"�
getpalettezPaletteFile.getpalette3s���|�|�T�\�\�)�)rN)�__name__�
__module__�__qualname__�__doc__r%r#r&�rr"rrs��7��G�.�4*rrN)�
__future__r�_binaryrrr+rr"�<module>r.s��#�� *� *r

Zerion Mini Shell 1.0