[SciPy-user] Importing foreign images
Travis Oliphant
oliphant at ee.byu.edu
Thu Dec 5 13:00:32 EST 2002
> Hallo Scipy-user,
>
> How can I import e.g. *.tiff and *.jpg files for image processing?
> I think, I can do it also with python
Download and install the PIL.
Then scipy can use it to read and write these files (scipy/pilutil.py)
Try
>>> from scipy import *
>>> arr = imread(myfile.jpg)
If this works then you have PIL installed. If it doesn't work, you need
to install PIL.
-Travis O.
More information about the SciPy-User
mailing list