| Server IP : 217.160.0.135 / Your IP : 216.73.216.115 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/PIL/__pycache__/ |
Upload File : |
�
�"�c�$ �
� � d dl Z d dlZd dlZd dlZd dlZddlmZ dddddd �Zd
� Zd� Z d� Z
d
dddd�Zd� Zd� Z
d� Zdddddddddd� Zd� Zd � Zd!� Zd"� Zd#� Zd$� Zd'd&�ZdS )(� N� )�Image)�PIL._imaging�PILLOW_VERSION)zPIL._tkinter_finder�
tk_version)�PIL._imagingft�freetype2_version)zPIL._imagingcms�littlecms_version)� PIL._webp�webpdecoder_version)�pil�tkinter� freetype2�
littlecms2�webpc � � | t vrd| � �}t |� � �t | \ }} t |� � dS # t $ r Y dS w xY w)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 TF)�modules�
ValueError�
__import__�ImportError)�feature�msg�module�vers �./usr/lib/python3/dist-packages/PIL/features.py�check_moduler sp � �
�w���)��)�)����o�o���'�"�K�F�C���6�����t��� � � ��u�u����s �A �
A�
Ac � � t | � � sdS t | \ }}|�dS t t ||g�� � |� � 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��fromlist)r r �getattrr )r r r s r �version_moduler! ( sP � � �� � � ��t��'�"�K�F�C�
�{��t��:�f��u�5�5�5�s�;�;�;� c �$ � d� t D � � S )z4
:returns: A list of all supported modules.
c �0 � g | ]}t |� � �|��S � )r ��.0�fs r �
<listcomp>z)get_supported_modules.<locals>.<listcomp>>