%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__/GbrImagePlugin.cpython-312.pyc

�

��e�����ddlmZddlmZmZddlmZd�ZGd�dej�Z	eje	je	e�eje	jd�y	)
�)�annotations�)�Image�	ImageFile)�i32bec�`�t|�dk\xrt|d�dk\xrt|d�dvS)N�r���r�)�len�i32)�prefixs �4/usr/lib/python3/dist-packages/PIL/GbrImagePlugin.py�_acceptr s1���v�;�!��Q��F�A��"� 4�Q��V�Q��6�9Q�Q�c� �eZdZdZdZd�Zd�Zy)�GbrImageFile�GBRzGIMP brush filec���t|jjd��}|dkr
d}t|��t|jjd��}|dvrd|��}t|��t|jjd��}t|jjd��}t|jjd��}|dks|dkr
d}t|��|dvrd|��}t|��|d	k(r|dz
}nc|d
z
}|jjd�}|dk7r
d}t|��t|jjd��|jd
<|jj|�dd}	|d	k(rd|_nd|_||f|_|	|jd<tj|j�||z|z|_
y)Nrr
znot a GIMP brushrz Unsupported GIMP brush version: r)rrz$Unsupported GIMP brush color depth: r�sGIMPz"not a GIMP brush, bad magic number�spacing����L�RGBA�comment)r�fp�read�SyntaxError�info�_mode�_sizer�_decompression_bomb_check�size�
_data_size)
�self�header_size�msg�version�width�height�color_depth�comment_length�magic_numberrs
          r�_openzGbrImageFile._open,s����$�'�'�,�,�q�/�*�����$�C��c�"�"��d�g�g�l�l�1�o�&���&� �4�W�I�>�C��c�"�"��D�G�G�L�L��O�$���T�W�W�\�\�!�_�%���$�'�'�,�,�q�/�*���A�:��1��$�C��c�"�"��f�$�8��
�F�C��c�"�"��a�<�(�2�-�N�(�2�-�N��7�7�<�<��?�L��w�&�:��!�#�&�&�#&�t�w�w�|�|�A��#7�D�I�I�i� ��'�'�,�,�~�.�s��3���!���D�J��D�J��F�]��
�&��	�	�)��	�'�'��	�	�2� �&�.�;�6��rc�2�|jsmtjj|j|j
�|_|j
|jj|j��tjj|�S)N)�imr�core�new�moder%�	frombytesrrr&�load)r's rr7zGbrImageFile.load[sY���w�w��j�j�n�n�T�Y�Y��	�	�:�D�G��N�N�4�7�7�<�<����8�9��{�{����%�%rN)�__name__�
__module__�__qualname__�format�format_descriptionr0r7�rrrr(s��
�F�*��-7�^&rrz.gbrN)
�
__future__r�rr�_binaryrrrr�
register_openr;�register_extensionr=rr�<module>rCs]��4#��!�R�7&�9�&�&�7&�|����L�'�'��w�?������,�,�f�5r

Zerion Mini Shell 1.0