MCPcopy Create free account
hub / github.com/LynnHo/EigenGAN-Tensorflow / imwrite

Function imwrite

scripts/imlib/basic.py:28–39  ·  view source on GitHub ↗

Save a [-1.0, 1.0] image. Parameters ---------- quality: Quality for JEPG format. plugin_args: To be passed to skimage.io.imsave.

(image, path, quality=95, **plugin_args)

Source from the content-addressed store, hash-verified

26
27
28def imwrite(image, path, quality=95, **plugin_args):
29 """Save a [-1.0, 1.0] image.
30
31 Parameters
32 ----------
33 quality:
34 Quality for JEPG format.
35 plugin_args:
36 To be passed to skimage.io.imsave.
37
38 """
39 iio.imsave(path, dtype.im2uint(image), quality=quality, **plugin_args)
40
41
42def imshow(image):

Callers 1

workFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected