%PDF- %PDF-
| Direktori : /usr/lib/python3/dist-packages/PIL/__pycache__/ |
| Current File : //usr/lib/python3/dist-packages/PIL/__pycache__/GdImageFile.cpython-312.pyc |
�
��eR
� �r � d Z ddlmZ ddlmZmZmZ ddlmZ ddlm
Z G d� dej � Zdd �Z
y
)a�
.. note::
This format cannot be automatically recognized, so the
class is not registered for use with :py:func:`PIL.Image.open()`. To open a
gd file, use the :py:func:`PIL.GdImageFile.open()` function instead.
.. warning::
THE GD FORMAT IS NOT DESIGNED FOR DATA INTERCHANGE. This
implementation is provided for convenience and demonstrational
purposes only.
� )�annotations� )� ImageFile�ImagePalette�UnidentifiedImageError)�i16be)�i32bec � � e Zd ZdZdZdZd� Zy)�GdImageFilea%
Image plugin for the GD uncompressed format. Note that this format
is not supported by the standard :py:func:`PIL.Image.open()` function. To use
this plugin, you have to import the :py:mod:`PIL.GdImageFile` module and
use the :py:func:`PIL.GdImageFile.open()` function.
�GDzGD uncompressed imagesc � � | j j d� }t |� dvr
d}t |� �d| _ t |d� t |d� f| _ |d }|rdnd}t
|d |z � }|d
k r|| j d<