PIL-object to NumPy

Mads Andresen laura at post.cybercity.dk
Tue May 4 01:52:31 EDT 1999


Hi,

I'm using Python Image Library (PIL) and NumPy.

I would like to open a image and make som imageprocessing on it. I would
like to do the imageprocessing i NumPy, but I can't find out how to open af
Image in NumPy??

Q1: How do I open a image so I can use it with NumPy??

Q2: If not(Q1) then: How do I convert a PIL-object to a NymPy-array???

Mads Andresen, Odense, Denmark






More information about the Python-list mailing list