"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "skimage/io/_plugins/imageio_plugin.py" between
scikit-image-0.19.2.tar.gz and scikit-image-0.19.3.tar.gz

About: scikit-image is a collection of algorithms for image processing in Python.

imageio_plugin.py  (scikit-image-0.19.2):imageio_plugin.py  (scikit-image-0.19.3)
__all__ = ['imread', 'imsave'] __all__ = ['imread', 'imsave']
from functools import wraps from functools import wraps
import numpy as np import numpy as np
from imageio import imread as imageio_imread, imsave
try:
# Try using the v2 API directly to avoid a warning from imageio >= 2.16.2
from imageio.v2 import imread as imageio_imread, imsave
except ImportError:
from imageio import imread as imageio_imread, imsave
@wraps(imageio_imread) @wraps(imageio_imread)
def imread(*args, **kwargs): def imread(*args, **kwargs):
return np.asarray(imageio_imread(*args, **kwargs)) return np.asarray(imageio_imread(*args, **kwargs))
 End of changes. 1 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)