Hello everybody - bonjour tout le monde

do u have an idea why this code (from
http://effbot.org/zone/pil-changes-116.htm) doesn't work on my newly
upgraded machine?

import numpy, Image

i = Image.open('lena.jpg')
a = numpy.asarray(i) # a is readonly
i = Image.fromarray(a)

The versions seem OK :
>>> numpy.__version__
'1.0b5'
>>> Image.VERSION
'1.1.6a0'


sorry if that was allready discussed but I can't figure out how to
find something in the archives.


Cheers
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to