Files
intellecton/venv/lib/python3.12/site-packages/PIL/__pycache__/GdImageFile.cpython-312.pyc
T

46 lines
3.3 KiB
Plaintext
Raw Normal View History

Ë
ß¼jå
ãóŒ—dZddlmZddlmZddlmZmZmZddl m
Z ddl m Z
ddlmZGd „d
ej «Zd
dd „Zy )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ó —eZdZdZdZdZdd„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‚|jjd«}t|«dvr
d}t|«‚d|_t|d«t|d«f|_|d}|rdnd}t
|d |z«}|d
kr||jd <tjd |d |zdzd |zdzd
z«|_
tjdd|jzd |zdzd
zd«g|_y)Ni
)iþÿiÿÿzNot a valid GD 2.x .gd fileÚPééérééÚ transparencyÚRGBXiÚraw)rrÚL)ÚfpÚreadÚi16Ú SyntaxErrorÚ_modeÚ_sizeÚi32ÚinforrÚpaletterÚ_TileÚsizeÚtile)ÚselfÚsÚmsgÚ
true_colorÚtrue_color_offsetÚtindexs úR/home/antigravity/intellecton/venv/lib/python3.12/site-packages/PIL/GdImageFile.pyÚ_openzGdImageFile._open2s€à�w‰wÐ"Ð"Ð"à �G‰G�L‰L˜Ó ˆä ˆq‹6˜Ñ 'Ø/ˆCܘcÓ"Ð "àˆŒ
ܘ˜A“Y¤ A q£ Ð)ˆŒ
à�q‘Tˆ
Ù!+™A°Ðô�Q˜Ð-Ñ-Ó.ˆØ �CŠ<Ø(.ˆD�I‰I�nÑ %ä#×'Ñ'Ø �A�aÐ+Ñ+¨aÑ/°!Ð6GÑ2GÈ!Ñ2KÈgÑ2UÐVó
ˆŒ ô
�O‰OØØ˜Ÿ™Ñ"ØÐ%Ñ%¨Ñ)¨GÑ3Øó 
ð
ˆ� óN)ÚreturnÚNone)Ú__name__Ú
__module__Ú __qualname__Ú__doc__ÚformatÚformat_descriptionr-©r.r,r
r
's„ñð€FØ1Ðô 
r.r
có|—|dk7r
d}t|«‚ t|«S#t$r}d}t|«|‚d}~wwxYw)a#
Load texture from a GD image file.