| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/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'