Your IP : 18.191.198.245
U
e5d� � @ s. d dl mZ dgZd$dd�Zg Zdd� Ze�e� dd� Ze�e� d d
� Ze�e� dd� Z e�e � d
d� Z
e�e
� dd� Ze�e� dd� Ze�e� dd� Z
e�e
� dd� Ze�e� dd� Ze�e� dd� Ze�e� dd� Ze�e� dd� Ze�e� dd � Zd!d"� Zed#k�r*e� dS )%� )�PathLike�whatNc C s� d }zp|d krNt| ttf�r2t| d�}|�d�}n| �� }| �d�}| �|� tD ]}|||�}|rR| W �S qRW 5 |r�|� � X d S )N�rb� ) �close�
isinstance�strr �open�read�tell�seek�tests)�file�h�f�locationZtf�res� r �/usr/lib64/python3.8/imghdr.pyr s
c C s | dd� dkrdS d S )N� �
)s JFIFs ExifZjpegr �r r r r r � test_jpeg% s r c C s | � d�rdS d S )Ns �PNG
Zpng��
startswithr r r r �test_png, s
r c C s | d d� dkrdS d S )Nr )s GIF87as GIF89aZgifr r r r r �test_gif2 s r c C s | d d� dkrdS d S )N� )s MMs IIZtiffr r r r r � test_tiff9 s r c C s | � d�rdS d S )Ns �Zrgbr r r r r �test_rgb@ s
r c C s<