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

46 lines
3.3 KiB
Text
Raw Normal View History

<EFBFBD>
߼j<>
<00><01><><00>dZddlmZddlmZddlmZmZmZddl m
Z ddl m Z ddlmZGd <09>d
ej <00>Zd dd <0B>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.
<EFBFBD>)<01> annotations)<01>IO<49>)<03> ImageFile<6C> ImagePalette<74>UnidentifiedImageError)<01>i16be)<01>i32be)<01>StrOrBytesPathc<01> <00>eZdZdZdZdZdd<04>Zy)<07> 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 imagesc<01><><00>|j<00>J<00>|jjd<01>}t|<01>dvr d}t|<02><00>d|_t|d<05>t|d<06>f|_|d}|rdnd}t |d |z<00>}|d
kr||jd <tjd |d |zdzd |zdzd z<00>|_
tjdd|jzd |zdzd zd<10>g|_y)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>tindexs <20>R/home/antigravity/intellecton/venv/lib/python3.12/site-packages/PIL/GdImageFile.py<70>_openzGdImageFile._open2s<00><00><13>w<EFBFBD>w<EFBFBD>"<22>"<22>"<22> <10>G<EFBFBD>G<EFBFBD>L<EFBFBD>L<EFBFBD><14> <1E><01> <0E>q<EFBFBD>6<EFBFBD><1E> '<27>/<2F>C<EFBFBD><1D>c<EFBFBD>"<22> "<22><18><04>
<EFBFBD><18><11>A<EFBFBD>Y<EFBFBD><03>A<EFBFBD>q<EFBFBD> <09>)<29><04>
<EFBFBD><16>q<EFBFBD>T<EFBFBD>
<EFBFBD>!+<2B>A<EFBFBD><11><19><15>Q<EFBFBD><01>-<2D>-<2D>.<2E><06> <11>C<EFBFBD><<3C>(.<2E>D<EFBFBD>I<EFBFBD>I<EFBFBD>n<EFBFBD> %<25>#<23>'<27>'<27> <12>A<EFBFBD>a<EFBFBD>+<2B>+<2B>a<EFBFBD>/<2F>!<21>6G<36>2G<32>!<21>2K<32>g<EFBFBD>2U<32>V<>
<EFBFBD><04> <0C>
<16>O<EFBFBD>O<EFBFBD><15><16><14><19><19>"<22><11>%<25>%<25><01>)<29>G<EFBFBD>3<><13>  <0E>
<EFBFBD><04> <09>N)<02>return<72>None)<07>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F>format<61>format_descriptionr-<00>r.r,r r 's<00><00><08><12>F<EFBFBD>1<><16> 
r.r c<01>|<00>|dk7r d}t|<02><00> t|<00>S#t$r}d}t|<02>|<03>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.
<20>rzbad modezcannot identify this image fileN)<04>
ValueErrorr rr)r<00>moder(<00>es r,<00>openr=UsK<00><00> <0C>s<EFBFBD>{<7B><18><03><18><13>o<EFBFBD><1D>1<><1A>2<EFBFBD><EFBFBD><1E><> <16>1<>/<2F><03>$<24>S<EFBFBD>)<29>q<EFBFBD>0<><30>1<>s<00>
<00> ;<03>6<03>;N)r9)rzStrOrBytesPath | IO[bytes]r;<00>strr/r )r4<00>
__future__r<00>typingr<00>rrr<00>_binaryr rr
r <00>_typingr r r=r7r.r,<00><module>rDs9<00><01>"
<04>#<23><15>=<3D>=<3D>!<21>!<21>#<23>+
<EFBFBD>)<29>%<25>%<25>+
<EFBFBD>\1r.