Files
serveur-d-authentification/venv/lib/python3.10/site-packages/PIL/__pycache__/GdImageFile.cpython-310.pyc

45 lines
2.7 KiB
Plaintext
Raw Normal View History

o
<00>Q<EFBFBD>j<EFBFBD>
<00>@svdZddlmZddlmZddlmZmZmZddl m
Z ddl m Z ddlmZGd d
<EFBFBD>d
ej<06>Zdddd<12>ZdS)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.
<EFBFBD>)<01> annotations)<01>IO<49>)<03> ImageFile<6C> ImagePalette<74>UnidentifiedImageError)<01>i16be)<01>i32be)<01>StrOrBytesPathc@s"eZdZdZdZdZd dd<07>ZdS)
<EFBFBD> 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.
<20>GDzGD uncompressed images<65>return<72>NonecCs<>|jdusJ<00>|j<00>d<01>}t|<01>dvrd}t|<02><01>d|_t|d<05>t|d<06>f|_|d}|r/dnd}t|d |<00>}|d
krA||jd <t<08> d |d |dd |dd <00><00>|_
t <0B> dd|j d |dd d<10>g|_dS)Ni )i<><69>i<><69>zNot a valid GD 2.x .gd file<6C>P<><00><00>r<00><00><00> transparency<63>RGBXi<00>raw)rr<00>L)<0F>fp<66>read<61>i16<31> SyntaxError<6F>_mode<64>_size<7A>i32<33>inforr<00>paletter<00>_Tile<6C>size<7A>tile)<06>self<6C>s<>msg<73>
true_color<EFBFBD>true_color_offset<65>tindex<65>r+<00>r/home/sorel/systeme_gestion_cerfig/serveur-d-authentification/venv/lib/python3.10/site-packages/PIL/GdImageFile.py<70>_open2s,   
 <06><02>
<EFBFBD>zGdImageFile._openN)r r)<07>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F>format<61>format_descriptionr-r+r+r+r,r 's
r <00>rr<00>StrOrBytesPath | IO[bytes]<5D>mode<64>strr c
CsF|dkr
d}t|<02><01>zt|<00>WSty"}zd}t|<02>|<03>d}~ww)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.
r4zbad modezcannot identify this image fileN)<04>
ValueErrorr rr)rr6r'<00>er+r+r,<00>openUs


<08><02>r:N)r4)rr5r6r7r r )r1<00>
__future__r<00>typingr<00>rrr<00>_binaryrrr r<00>_typingr
r r:r+r+r+r,<00><module>s    .