
    0-Ph                         d Z 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.9+,
and is easy to install.

Main website: https://imageio.readthedocs.io/
z2.37.0    N   )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.
    zStarting 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      P/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/imageio/__init__.pyr
   r
   C   sH    , M	T 	    S2226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____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>r2      s      . - - - - - - - -//|                                                             *       3 3 3 3B  r"   