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

118 lines
9.5 KiB
Plaintext
Raw Normal View History

o
<00>Q<EFBFBD>j*<00> @sUddlmZddlZddlZddlZddlZddlmZddlZddl m
Z
dddd d
d d <0C>Z dCdd<12>Z dDdd<15>Z dEdd<18>Zddddd<1D>ZdCdd<1F>ZdDd d!<21>ZdEd"d#<23>Zd$d%d&d'd(d)d*d+d,<2C>Zd-ed.<dFd0d1<64>ZdDd2d3<64>ZdEd4d5<64>ZdFd6d7<64>ZdDd8d9<64>ZdEd:d;<3B>ZdGdHdAdB<64>ZdS)I<>)<01> annotationsN)<01>IO<49>)<01>Image)<02> PIL._imaging<6E>PILLOW_VERSION)zPIL._tkinter_finder<65>
tk_version)<02>PIL._imagingft<66>freetype2_version)zPIL._imagingcms<6D>littlecms_version)z PIL._webp<62>webpdecoder_version)z PIL._avif<69>libavif_version)<06>pil<69>tkinter<65> freetype2<65>
littlecms2<EFBFBD>webp<62>avif<69>feature<72>str<74>return<72>boolc
Cs||tvr d|<00><00>}t|<01><01>t|\}}zt|<02>WdSty$YdSty=}zt<05>t|<04><01>WYd}~dSd}~ww)z<>
Checks if a module is available.
:param feature: The module to check for.
:returns: ``True`` if available, ``False`` otherwise.
:raises ValueError: If the module is not defined in this version of Pillow.
zUnknown module TFN)<08>modules<65>
ValueError<EFBFBD>
__import__<EFBFBD>ModuleNotFoundError<6F> ImportError<6F>warnings<67>warnr)r<00>msg<73>module<6C>ver<65>ex<65>r#<00>o/home/sorel/systeme_gestion_cerfig/serveur-d-authentification/venv/lib/python3.10/site-packages/PIL/features.py<70> check_modules
  <08><02>r%<00>
str | NonecCs,t|<00>sdSt|\}}tt||gd<02>|<02>S)z<>
:param feature: The module to check for.
:returns:
The loaded version number as a string, or ``None`` if unknown or not available.
:raises ValueError: If the module is not defined in this version of Pillow.
N<><01>fromlist)r%r<00>getattrr)rr r!r#r#r$<00>version_module/s r*<00> list[str]cC<01>dd<02>tD<00>S)z4
:returns: A list of all supported modules.
cS<01>g|]}t|<01>r|<01>qSr#)r%<00><02>.0<EFBFBD>fr#r#r$<00>
<listcomp>B<00>z)get_supported_modules.<locals>.<listcomp>)rr#r#r#r$<00>get_supported_modules><00>r3)<02>jpeg<65>jpeglib)<02>jpeg2k<32>jp2klib)<02>zip<69>zlib)<02>libtiffr;)<04>jpg<70>jpg_2000r:r;cCs:|tvr d|<00><00>}t|<01><01>t|\}}|<02>d<02>ttj<04>vS)z<>
Checks if a codec is available.
:param feature: The codec to check for.
:returns: ``True`` if available, ``False`` otherwise.
:raises ValueError: If the codec is not defined in this version of Pillow.
zUnknown codec <20>_encoder)<05>codecsr<00>dirr<00>core)rr<00>codec<65>libr#r#r$<00> check_codecMs

 rDcCsNt|<00>sdSt|\}}ttj|<02>d<02><02>}|dkr%|<03>d<04>d<00>d<06>dS|S)a
:param feature: The codec to check for.
:returns:
The version number as a string, or ``None`` if not available.
Checked at compile time for ``jpg``, run-time otherwise.
:raises ValueError: If the codec is not defined in this version of Pillow.
N<>_versionr;<00>
rzVersion r)rDr?r)rrA<00>split)rrBrC<00>versionr#r#r$<00> version_codec^s rIcCr,)z3
:returns: A list of all supported codecs.
cSr-r#)rDr.r#r#r$r1wr2z(get_supported_codecs.<locals>.<listcomp>)r?r#r#r#r$<00>get_supported_codecssr4rJ)r <00> HAVE_RAQM<51> raqm_version)r <00> HAVE_FRIBIDI<44>fribidi_version)r <00> HAVE_HARFBUZZ<5A>harfbuzz_version)r<00>HAVE_LIBJPEGTURBO<42>libjpeg_turbo_version)r<00> HAVE_MOZJPEGrR)r<00> HAVE_ZLIBNG<4E>zlib_ng_version)r<00>HAVE_LIBIMAGEQUANT<4E>imagequant_version)r<00>HAVE_XCBN)<08>raqm<71>fribidi<64>harfbuzz<7A> libjpeg_turbo<62>mozjpeg<65>zlib_ng<6E> libimagequant<6E>xcbz&dict[str, tuple[str, str, str | None]]<5D>features<65> bool | Nonec
Cs<>|tvr d|<00><00>}t|<01><01>t|\}}}z t|dgd<03>}t||<03>WSty+YdStyD}zt<06>t|<06><01>WYd}~dSd}~ww)z<>
Checks if a feature is available.
:param feature: The feature to check for.
:returns: ``True`` if available, ``False`` if unavailable, ``None`` if unknown.
:raises ValueError: If the feature is not defined in this version of Pillow.
zUnknown feature <20>PILr'N) rarrr)rrrrr)rrr <00>flagr!<00>imported_moduler"r#r#r$<00> check_feature<72>s
  <08><02>rfcCs:t|<00>sdSt|\}}}|durdStt||gd<02>|<03>S)z<>
:param feature: The feature to check for.
:returns: The version number as a string, or ``None`` if not available.
:raises ValueError: If the feature is not defined in this version of Pillow.
Nr')rfrar)r)rr rdr!r#r#r$<00>version_feature<72>s rgcCr,)z5
:returns: A list of all supported features.
cSr-r#)rfr.r#r#r$r1<00>r2z*get_supported_features.<locals>.<listcomp>)rar#r#r#r$<00>get_supported_features<65>r4rhcCsJ|tvrt|<00>S|tvrt|<00>S|tvrt|<00>Stjd|<00>d<02>dd<04>dS)z<>
:param feature: A module, codec, or feature name.
:returns:
``True`` if the module, codec, or feature is available,
``False`` or ``None`` otherwise.
zUnknown feature 'z'.<2E>)<01>
stacklevelF)rr%r?rDrarfrr<00>rr#r#r$<00>check<63>srlcCs4|tvrt|<00>S|tvrt|<00>S|tvrt|<00>SdS)z<>
:param feature:
The module, codec, or feature to check for.
:returns:
The version number as a string, or ``None`` if unknown or not available.
N)rr*r?rIrargrkr#r#r$rH<00>srHcCs"t<00>}|<00>t<02><00>|<00>t<03><00>|S)zJ
:returns: A list of all supported modules, features, and codecs.
)r3<00>extendrhrJ)<01>retr#r#r$<00> get_supported<65>s  roT<>out<75>IO[str] | None<6E>supported_formats<74>Nonec Cs<>|durtj}t<02><03>td|d<03>tdtj<06><00>|d<03>tj<07><08>}td|d<00> <09><00><00>|d<03>|dd<01>D] }td|<03> <09><00><00>|d<03>q3td|d<03>td tj
pMd
<EFBFBD><00>|d<03>tj tj krctd tj <0B><00>|d<03>td tj <0C><00>|d<03>td|d<03>td t j<0E>tj<10><01><00>|d<03>tdt j<0E>tjj<10><01><00>|d<03>td|d<03>dD]<5D>\}}t|<04><01>r+d}|dkr<>td<11>}|dur<>td<12>r<>dnd}|d|7}|dur<>t|<04>}|du<01>r"|dv}|dkr<>tdd<18>|<06>d<19>D<00><01>dk}|r<>dnd} |dkr<>td<1E>}
|
dur<>|d|
7}n|d k<02>rd!D]} t| <0B>} | du<01>r|d"| <0B>d| <0C><00>7}<06>qtd#|d$| ||d<03>q<>td#|d%|d<03>q<>td&|d'|d<03>q<>td|d<03>|<01>r<>t<17>t<19>} tj<1A><1B>D] \}}| |<00>|<0E><00>qGttj<1E>D]~}|<0F>}|tjv<00>rn|<10>dtj|<00><00>}t||d<03>|| v<00>r<>td(<28> d"<22>!t| |<00><01><01>|d<03>g}|tj"v<00>r<>|<11>d)<29>|tj#v<00>r<>|<11>d*<2A>|tj$v<00>r<>|<11>d+<2B>|tj%v<00>r<>|<11>d,<2C>|tj&v<00>r<>|<11>d-<2D>td.<2E> d"<22>!|<11><01>|d<03>td|d<03><00>qYdSdS)/a 
Prints information about this installation of Pillow.
This function can be called with ``python3 -m PIL``.
It can also be called with ``python3 -m PIL.report`` or ``python3 -m PIL --report``
to have "supported_formats" set to ``False``, omitting the list of all supported
image file formats.
:param out:
The output stream to print to. Defaults to ``sys.stdout`` if ``None``.
:param supported_formats:
If ``True``, a list of all supported image file formats will be printed.
NzD--------------------------------------------------------------------)<01>filezPillow zPython rrz zPython executable is <20>unknownz%Environment Python files loaded from z System Python files loaded from z"Python Pillow modules loaded from z"Binary Pillow modules loaded from ) )rzPIL CORE)r<00>TKINTER)r<00> FREETYPE2)r<00>
LITTLECMS2)r<00>WEBP)r<00>AVIF)r<<00>JPEG)r=zOPENJPEG (JPEG2000))r:zZLIB (PNG/ZIP))r;<00>LIBTIFF)rYzRAQM (Bidirectional Text))r_z#LIBIMAGEQUANT (Quantization method))r`zXCB (X protocol)r<r\r]z libjpeg-turbo<62> )rr<rcss<00>|]}t|<01>VqdS)N)<01>int)r/<00>xr#r#r$<00> <genexpr>(s<02>zpilinfo.<locals>.<genexpr><3E>.)ri<00>z compiled for<6F>loadedr:r^z, compiled for zlib-ng rY)rZr[z, z---z support ok,z
support okz***zsupport not installedzExtensions: {}<7D>open<65>save<76>save_all<6C>decode<64>encodez Features: {})'<27>sys<79>stdoutr<00>init<69>printrc<00> __version__rH<00>
splitlines<EFBFBD>strip<69>
executable<EFBFBD>prefix<69> base_prefix<69>os<6F>path<74>dirname<6D>__file__rArlrgrf<00>tuplerG<00> collections<6E> defaultdict<63>list<73> EXTENSION<4F>items<6D>append<6E>sorted<65>ID<49>MIME<4D>format<61>join<69>OPEN<45>SAVE<56>SAVE_ALL<4C>DECODERS<52>ENCODERS)rprr<00>py_version_lines<65>
py_version<EFBFBD>namer<00>vrR<00>version_static<69>trUr0<00>v2<76>
extensions<EFBFBD>ext<78>i<>linerar#r#r$<00>pilinfo<66>s<> 
   <06><06>  
 
  <02>

<04> 
  
<06> 
 
 
 
 
<04>r<>)rrrr)rrrr&)rr+)rrrrb)NT)rprqrrrrrs)<1C>
__future__rr<>r<>r<>r<00>typingrrc<00>rrr%r*r3r?rDrIrJra<00>__annotations__rfrgrhrlrHror<>r#r#r#r$<00><module>sT  <06>

<06>


<0E>