imsave

imsave

skimage.io.imsave(fname, arr, plugin=None, **plugin_args) [source]

Save an image to file.

Parameters:

fname : str

Target filename.

arr : ndarray of shape (M,N) or (M,N,3) or (M,N,4)

Image data.

plugin : str

Name of plugin to use. By default, the different plugins are tried (starting with the Python Imaging Library) until a suitable candidate is found. If not given and fname is a tiff file, the tifffile plugin will be used.

Other Parameters:

plugin_args : keywords

Passed to the given plugin.

doc_scikit_image
2017-01-12 17:21:34
Comments
Leave a Comment

Please login to continue.