File: //usr/local/lib64/python3.6/site-packages/PIL/__pycache__/GdImageFile.cpython-36.pyc
3
Zƍh� � @ sP d Z ddlmZmZmZ ddlmZ ddlmZ G dd� dej�Z
ddd �Zd
S )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.
� )� ImageFile�ImagePalette�UnidentifiedImageError)�i16be)�i32bec @ s e Zd ZdZdZdZdd� ZdS )�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.
ZGDzGD uncompressed imagesc C s� | j jd�}t|�dkr td��d| _t|d�t|d�f| _|d }|rLdnd }t|d
| �}|dk rp|| jd<