imageio.v2.imwrite
- imageio.v2.imwrite(uri, im, format=None, **kwargs)
Write an image to the specified file.
- Parameters:
- uri : {str, pathlib.Path, file}
The resource to write the image to, e.g. a filename, pathlib.Path or file object, see the docs for more info.
- im : numpy.ndarray