§
    2?Äj  ã                   ó  — d Z ddlmZ  ed¦  «        ZddlZddlmZmZ  e¦   «         Z	e	j
        ZddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZmZ mZ!m"Z"mZmZ ddlm#Z#m$Z$ dd„Zg d¢Z%dS )a"  
Imageio is a Python library that provides an easy interface to read and
write a wide range of image data, including animated images, volumetric
data, and scientific formats. It is cross-platform, runs on Python 3.10+,
and is easy to install.

Main website: https://imageio.readthedocs.io/
é    )ÚversionÚimageioNé   )ÚFormatManagerÚRETURN_BYTES)Úv2)Úv3)Úplugins)Úconfig)ÚimreadÚmimreadÚvolreadÚmvolreadÚimwriteÚmimwriteÚvolwriteÚ	mvolwriteÚ
get_readerÚ
get_writerr   r   r   r   Úhelpr   r   )ÚimopenÚimiterc                 óX   — t          j        dt          d¬¦  «         t          | fd|i|¤ŽS )aX  imread(uri, format=None, **kwargs)

    Reads an image from the specified file. Returns a numpy array, which
    comes with a dict of meta data at its 'meta' attribute.

    Note that the image data is returned as-is, and may not always have
    a dtype of uint8 (and thus may differ from what e.g. PIL returns).

    Parameters
    ----------
    uri : {str, pathlib.Path, bytes, file}
        The resource to load the image from, e.g. a filename, pathlib.Path,
        http address or file object, see the docs for more info.
    format : str
        The format to use to read the file. By default imageio selects
        the appropriate for you based on the filename and its contents.
    kwargs : ...
        Further keyword arguments are passed to the reader. See :func:`.help`
        to see what arguments are available for a particular format.
    zäStarting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use `import imageio.v2 as imageio` or call `imageio.v2.imread` directly.é   )Ú
stacklevelÚformat)ÚwarningsÚwarnÚDeprecationWarningÚ	imread_v2)Úurir   Úkwargss      úAC:\Projects\Historical\venv\Lib\site-packages\imageio/__init__.pyr   r   F   sH   € õ, „Mð	Tõ 	Øðñ ô ð õ �SÐ2Ð2 Ð2¨6Ð2Ð2Ð2ó    )r   r	   r   r
   r   r   r   r   r   r   r   r   r   r   r   ÚreadÚsaveÚimsaveÚmimsaveÚvolsaveÚmvolsaver   r   r   ÚformatsÚshow_formats)N)&Ú__doc__Úimportlib.metadatar   Úget_versionÚ__version__r   Úcorer   r   r+   Úshowr,   Ú r   r	   r
   r   r   r    r   r   r   r   r   r   r   r   r%   r   r&   r'   r(   r)   r*   r   r   r   Ú__all__© r$   r#   ú<module>r6      sÅ  ððð ð 6Ð 5Ð 5Ð 5Ð 5Ð 5àˆk˜)Ñ$Ô$€ð €€€ð .Ð -Ð -Ð -Ð -Ð -Ð -Ð -ð ˆ-‰/Œ/€ØŒ|€à Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð ð Ð Ð Ð Ð Ð ðð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð*ð ð ð ð ð ð ð ð3ð 3ð 3ð 3ðBð ð €€€r$   