Uname : Linux serv1.rebootns.com 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Soft : LiteSpeed
Ip : 139.99.125.122
Port : 443
~
/
opt
/
alt
/
python312
/
lib64
/
python3.12
/
__pycache__
[ HOME ]
Exec
Submit
File Name : imghdr.cpython-312.pyc
� ��xL(�>� � � d Z ddlmZ ddlZdgZ ej ed�� dd�Zg Zd� Z ej e � d � Zej e� d � Zej e� d� Z ej e � d� Zej e� d � Zej e� d� Zej e� d� Zej e� d� Zej e� d� Zej e� d� Zej e� d� Zej e� d� Zej e� d� Zd� Zedk( r e� yy)z<Recognize image file formats based on their first few bytes.� )�PathLikeN�what)� � )�removec � � d} |�ft | t t f� rt | d� }|j d� }n2| j � }| j d� }| j |� t D ]$ } |||� }|s�|c |r|j � S S |r|j � y# |r|j � w w xY w)z<Return the type of image contained in a file or byte stream.N�rb� ) � isinstance�strr �open�read�tell�seek�tests�close)�file�h�f�location�tf�ress �-/opt/alt/python312/lib64/python3.12/imghdr.pyr r s� � ��A���9��$��h��0���t�$���F�F�2�J���9�9�;���I�I�b�M��� � �(�#��B��Q��(�C��� ��a�g�g�i�1� � �a�g�g�i��� �a�g�g�i�1�s �A<B- �B- �B- �-Cc �&