%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/PIL/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/PIL/__pycache__/ImageMode.cpython-312.pyc

�

��e�
��J�ddlmZddlZddlmZGd�d�Zedd��Zy)�)�annotationsN)�	lru_cachec�8�eZdZdZ												dd�Zdd�Zy)�ModeDescriptorzWrapper for mode strings.c�J�||_||_||_||_||_y�N)�mode�bands�basemode�basetype�typestr)�selfr	r
rrr
s      �//usr/lib/python3/dist-packages/PIL/ImageMode.py�__init__zModeDescriptor.__init__s'����	���
� ��
� ��
����c��|jSr)r	)rs r�__str__zModeDescriptor.__str__&s���y�y�rN)r	�strr
ztuple[str, ...]rrrrr
r�return�None)rr)�__name__�
__module__�__qualname__�__doc__rr�rrrrsI��#�������	�
���
�
��rrc�P�tjdk(rdnd}idd�dd�dddd	|d
zf�dddd|d
zf�dd�dd�dd�dd�dd�dd�dd�dd�dd�d d!�d"d!�d#d!�d$d%�d&d'd(��}||vr||\}}}}t|||||�Sd)d*d)d*d+d,|d-z|d.zd/d0d/d1d2d1d3�}||}t|d	dd|�S)4z*Gets a mode descriptor for the given mode.�little�<�>�1)�Lr!)r z|b1r!)r!r!)r!�|u1�I)r#�i4�F)r%�f4�P)r'r!)r'r"�RGB)r(r!)�R�G�Br"�RGBX)r(r!)r)r*r+�Xr"�RGBA)r(r!)r)r*r+�Ar"�CMYK)r(r!)�C�M�Y�Kr"�YCbCr)r(r!)r3�Cb�Crr"�LAB)r(r!)r!r/r+r"�HSV)r(r!)�H�S�Vr"�RGBa)r(r!)r)r*r+�ar"zBGR;15)r(r!)r+r*r)r"zBGR;16zBGR;24�LA)r!r!)r!r/r")r!r!)r!r>r")r(r!)r'r/r")�La�PAz<u2z<i2z>u2z>i2�u2�i2z<u4z>u4z<i4z>i4)zI;16zI;16SzI;16LzI;16LSzI;16BzI;16BSzI;16NzI;16NSzI;32zI;32BzI;32LzI;32SzI;32BSzI;32LS)�sys�	byteorderr)r	�endian�modes�	base_mode�	base_typer
�type_str�
mapping_modess        r�getmoderL*s����M�M�X�-�S�3�F�
�	�
&�
�	�
&�	
�
	�c�3����
�
.�
�	�c�3����
�
.�

�	�
&�
�	�3�
�	�9�
�	�9�
�	�9�
�	�7�
�	�3�
�	�3�
�"	�9�#
�$	�6�%
�&	�6�'
�(	�6�)
�*	
�+�+
�,,�-�/
�E�2�u�}�05�d��-�	�9�e�X��d�E�9�i��J�J��������$���4�-��������M�$�T�"�H��$���S�(�;�;r)r	rrr)�
__future__rrD�	functoolsrrrLrrr�<module>rOs.��#�
����*�5<��5<r

Zerion Mini Shell 1.0