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)
| 26 | |
| 27 | |
| 28 | def 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 | |
| 42 | def imshow(image): |