%PDF- %PDF-
Direktori : /lib/python3/dist-packages/PIL/__pycache__/ |
Current File : //lib/python3/dist-packages/PIL/__pycache__/ImageFile.cpython-312.pyc |
� ��e_ � �l � d dl mZ d dlZd dlZd dlZd dlZd dlmZmZ ddl m Z ddlmZ ddl mZ dZd Zd Z ddd ddd�Z d� Zd� Zd� Z G d� de� Z G d� de j � Z G d� de� Z G d� d� Zd'd�Zd(d)d�Zd� Z G d� d � Z G d!� d"� Z G d#� d$e� Z G d%� d&e� Z y)*� )�annotationsN)�Any� NamedTuple� )�Image)� deprecate)�is_pathi i Fzimage buffer overrun errorzdecoding errorz unknown errorzbad configurationzout of memory error)������������i����c �� � t j j | � }|s|rdnd� d| � �}|d|rdnd� d�z }t |� S # t $ r t j | � }Y �Ew xY w)N�encoder�decoderz error z when �writing�readingz image file)r �core�getcodecstatus�AttributeError�ERRORS�get�OSError)�errorr �msgs �//usr/lib/python3/dist-packages/PIL/ImageFile.py�_get_oserrorr C sv � � ��j�j�'�'��.�� �%��9�5�W�U�G�D���V��I�i�8��D�D�C��3�<��� � ��j�j���� �s �A �A'�&A'c �8 � t ddd�� t | d�� �)N� raise_oserror� z�It is only useful for translating error codes returned by a codec's decode() method, which ImageFile already does automatically.)�actionF�r )r r )r s r r r N s% � � �� �G�� �u�e� ,�,� c � � | d S )N� � )�ts r � _tilesortr'