hyb
2026-01-30 15bc7727b58bf9ca0c8f21702fa893daac232b8d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Ë
³òúhJ ãóŒ—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      úBH:\Change_password\venv_build\Lib\site-packages\PIL/GdImageFile.pyÚ_openzGdImageFile._open1s€à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.
 
    :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.
    Úrzbad modezcannot identify this image fileN)Ú
ValueErrorr rr)rÚmoder(Úes    r,Úopenr=TsK€ð ˆs‚{؈ܘ‹oÐð1ܘ2‹ÐøÜ ò1Ø/ˆÜ$ SÓ)¨qÐ0ûð1ús”
Ÿ    ;¨6¶;N)r9)rzStrOrBytesPath | IO[bytes]r;Ústrr/r )r4Ú
__future__rÚtypingrÚrrrÚ_binaryr    rr
r Ú_typingr r r=r7r.r,ú<module>rDs9ðñ"
õ#åç=Ñ=Ý!Ý!Ý#ô+
)×%Ñ%ô+
õ\1r.