+
     i
  c                  s    R t ^ RIHt ^ RIHt ^RIHtHtHt ^RI	H
t ^RI	Ht ^RIHt  ! R R]P                  4      tRR	 R
 lltR# )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)IO)	ImageFileImagePaletteUnidentifiedImageError)i16be)i32be)StrOrBytesPathc                  s.    ] tR t^&tRtRtRtR R ltRtR# )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.
ZGDzGD uncompressed imagesc               s    V ^8  d   QhRR/# )   returnZNone format   "6/usr/lib64/python3.14/site-packages/PIL/GdImageFile.py__annotate__ZGdImageFile.__annotate__1   s      
  
t  
    c                	sf   V P                   f   Q hV P                   P                  R4      p\        V4      R	9  d   Rp\        V4      hRV n        \        V^4      \        V^4      3V n        V^,          pV'       d   ^M^ p\        V^V,           4      pVR8  d   WPP                  R&   \        P                  ! RV^V,           ^,           ^V,           ^,           R
,            4      V n
        \        P                  ! RRV P                  ,           ^V,           ^,           R
,           R4      .V n        R # )Ni  zNot a valid GD 2.x .gd fileZPi   ZtransparencyZRGBXrawZL)i  i  i   )    r   )fpZreadi16SyntaxError_mode_sizei32Zinfor   r   paletter   Z_TileZsizetile)ZselfZsmsgZ
true_colorZtrue_color_offsetZtindexs   &     r   _openZGdImageFile._open1   s   ww"""GGLLq6'/Cc""
AYAq	)
qT
!+A Q--.C<(.IIn%#''Aa++a/!6G2G!2Kg2UV

 OO"%%)G3	
	r   )r   r   r   r   N)	Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   Zformat_descriptionr   Z__static_attributes__r   r   r   r   r   &   s     F1 
  
r   r   c               s$    V ^8  d   QhRRRRRR/# )r	   r   zStrOrBytesPath | IO[bytes]modeZstrr
   r   r   r   r   r   r   r   T   s"     1 1' 1s 1[ 1r   c                s    VR8w  d   Rp\        V4      h \        V 4      #   \         d   pRp\        T4      ThRp?ii ; i)a  
Load texture from a GD image file.

:param fp: GD file name, or an opened file handle.
:param mode: Optional mode.  In this version, if the mode argument
    is given, it must be "r".
:returns: An image instance.
:raises OSError: If the image could not be read.
rzbad modezcannot identify this image fileN)Z
ValueErrorr   r   r   )r   r   r   Zes   &&  r   openr!   T   sK     s{o12 1/$S)q01s   
! ?:?N)r    )r   Z
__future__r    Ztypingr   Z r   r   r   Z_binaryr   r   r   r   Z_typingr   r   r!   r   r   r   <module>r"      s>   "
 #  = = ! ! #+
)%% +
\1 1r   