| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/__pycache__/ |
Upload File : |
a
�i� � @ s2 d Z ddlmZ dgZd%dd�Zg Zdd� Ze�e� dd � Ze�e� d
d� Z e�e � dd
� 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� Ze�e� d d!� Zd"d#� Zed$k�r.e� dS )&z<Recognize image file formats based on their first few bytes.� )�PathLike�whatNc C s� d }z�|d u rNt | ttf�r2t| d�}|�d�}n| �� }| �d�}| �|� tD ](}|||�}|rR| W |rx|�� S qRW |r�|�� n|r�|�� 0 d S )N�rb� ) �
isinstance�strr �open�read�tell�seek�tests�close)�file�h�f�locationZtf�res� r �/usr/lib64/python3.9/imghdr.pyr s"