problem with io.imread

Stefan van der Walt stefanv at berkeley.edu
Thu Apr 30 01:58:14 EDT 2015


Hi Julian

On 2015-04-29 09:21:00, Julien Derr <julien.derr at gmail.com> wrote:
> ValueError: Could not load "./small.jpg" Please see 
> documentation at: 
> http://pillow.readthedocs.org/en/latest/installation.html#external-libraries

What that document tells you is that you should first install 
libjpeg, then install (or re-install) PIL, and then the loader 
should work.

Alternatively, you can try:

from skimage import io
io.imread('./small.jpg', plugin='matplotlib')

Other options include:

- https://pypi.python.org/pypi/imageio
- https://pypi.python.org/pypi/imread

Regards
Stéfan



More information about the scikit-image mailing list