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

�

��e5���ddlmZddlmZmZdad�Zd�ZGd�dej�Z	d	�Z
eje	je	e�eje	je
�eje	jd
dg�y)�)�annotations�)�Image�	ImageFileNc��|ay)z_
    Install application-specific HDF5 image handler.

    :param handler: Handler object.
    N��_handler)�handlers �9/usr/lib/python3/dist-packages/PIL/Hdf5StubImagePlugin.py�register_handlerrs	���H�c��|dddk(S)N�s�HDF

�)�prefixs r�_acceptr s���"�1�:�-�-�-r
c� �eZdZdZdZd�Zd�Zy)�HDF5StubImageFile�HDF5c�4�|jj�}t|jjd��s
d}t	|��|jj|�d|_d|_|j�}|r|j|�yy)NrzNot an HDF file�F)rr)
�fp�tellr�read�SyntaxError�seek�_mode�_size�_load�open)�self�offset�msg�loaders    r�_openzHDF5StubImageFile._open(st����������t�w�w�|�|�A��'�#�C��c�"�"������V����
���
��������K�K���r
c��tS)Nr)r!s rrzHDF5StubImageFile._load9s���r
N)�__name__�
__module__�__qualname__�format�format_descriptionr%rrr
rrr$s��
�F����"r
rc�x�t�ttd�s
d}t|��tj|||�y)N�savezHDF5 save handler not installed)r	�hasattr�OSErrorr-)�imr�filenamer#s    r�_saver2=s0����w�x��8�/���c�l���M�M�"�b�(�#r
z.h5z.hdf)�
__future__r�rrr	rr�
StubImageFilerr2�
register_openr*�
register_save�register_extensionsrr
r�<module>r9s���#�����.��	�/�/��2$�����%�,�,�.?��I�����%�,�,�e�4�����+�2�2�U�F�O�Dr

Zerion Mini Shell 1.0