| Server IP : 216.92.14.13 / Your IP : 216.73.217.126 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.10/__pycache__/ |
Upload File : |
o
�9j� � @ s4 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$kr�e� dS dS )&z<Recognize image file formats based on their first few bytes.� )�PathLike�whatNc C s� d }zE|d u r't | ttf�rt| d�}|�d�}n| �� }| �d�}| �|� tD ]}|||�}|r>| W |r=|�� S S q)W |rF|�� d S |rO|�� w w )N�rb� ) �
isinstance�strr �open�read�tell�seek�tests�close)�file�h�f�location�tf�res� r �/usr/lib/python3.10/imghdr.pyr s&