| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/PIL/__pycache__/ |
Upload File : |
�
�"�c� � � � d dl mZmZmZ d dlmZ dad� Z G d� dej � � Z d� Z
ej e j e
� � dS )� )�FitsImagePlugin�Image� ImageFile)� deprecateNc � � | a t ddd�� � t j � t
j � � n# t $ r Y nw xY wt j t
j t
t j
� � dS )z_
Install application-specific FITS image handler.
:param handler: Handler object.
�FitsStubImagePlugin�
zMFITS images can now be read without a handler through FitsImagePlugin instead)�actionN)�_handlerr r �ID�remove�FITSStubImageFile�format�
ValueError�
register_openr �_accept)�handlers �9/usr/lib/python3/dist-packages/PIL/FitsStubImagePlugin.py�register_handlerr s� � � �H�
��
�4�� � � �
�
����)�0�1�1�1�1���
�
�
���
����
��� �"3�_�5L�� � � � s �)A �
A
�A
c �J � e Zd Zej j Zej j Zd� Zd� ZdS )r c �6 � | j � � � }t j | j � � }|j | _ |j | _ g | _ | j � |� � | � � � }|r|�
| � � d S d S �N)�fp�tellr �
FitsImageFile�size�_size�mode�tile�seek�_load�open)�self�offset�im�loaders r �_openzFITSStubImageFile._open3 s� � ��������
�
*�4�7�
3�
3���W��
��G�� ��� �����V����������� ��K�K������� � � c � � t S r )r )r# s r r! zFITSStubImageFile._loadA s � ��r( N) �__name__�
__module__�__qualname__r r r �format_descriptionr'