matplotlib.pyplot.imread(fname, format=None)
[source]
Read an image from a file into an array.
Parameters: |
|
---|---|
Returns: |
|
Matplotlib can only read PNGs natively. Further image formats are supported via the optional dependency on Pillow. Note, URL strings are not compatible with Pillow. Check the Pillow documentation for more information.
matplotlib.pyplot.imread
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.imread.html