lib/imageio/core/functions.py
def imread(uri, format=None, **kwargs):
    """ 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, bytes, file}
        The resource to load the image from. This can be a normal
        filename, a file in a zipfile, an http/ftp address, a file
        object, or the raw bytes.
    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.
    """ 
    
    # Get reader and read first
    reader = read(uri, format, 'i', **kwargs)
    with reader:
        return reader.get_data(0)
 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, bytes, file}
        The resource to load the image from. This can be a normal
        filename, a file in a zipfile, an http/ftp address, a file
        object, or the raw bytes.
    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.
    
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, bytes, file}
The resource to load the image from. This can be a normal
filename, a file in a zipfile, an http/ftp address, a file
object, or the raw bytes.
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.
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 bytes file } The resource to load the image from . This can be a normal filename a file in a zipfile an http / ftp address a file object or the raw bytes . 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 .
def imread(uri, format=None, **kwargs):
    reader = read(uri, format, 'i', **kwargs)
    with reader:
        return reader.get_data(0)
def imread ( uri , format = None , ** kwargs ) : reader = read ( uri , format , 'i' , ** kwargs ) with reader : return reader . get_data ( 0 )
imread(uri, format=None, **kwargs)
Reads an image from the specified file.
imread ( uri format = None ** kwargs ) Reads an image from the specified file .
""" 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, bytes, file}
        The resource to load the image from. This can be a normal
        filename, a file in a zipfile, an http/ftp address, a file
        object, or the raw bytes.
    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.
    """ # Get reader and read first
uri
format