U
    a+d                     @   s   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dZddddddddddddddddddddd d!d"d#d$d%g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.5+,
and is easy to install.

Main website: https://imageio.readthedocs.io/
z2.26.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                 K   s$   t jdtd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   kwargs r   4/tmp/pip-unpacked-wheel-xbmu82vq/imageio/__init__.pyr	   C   s    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   r   r    <module>   sN   L
"