skimage2.io.imsave#

skimage2.io.imsave(fname, arr, plugin=<DEPRECATED>, *, check_contrast=True, **plugin_args)[source]#

Save an image to file.

Parameters:
fnamestr or pathlib.Path

Target filename.

arrndarray of shape (M, N[, C]), with C=3 or C=4

Image data.

check_contrastbool, optional

Check for low contrast and print warning (default: True).

Other Parameters:
plugin_argsDEPRECATED

The plugin infrastructure is deprecated.

pluginDEPRECATED

plugin is deprecated.

Deprecated since version 0.25.