I'm trying to use the Python Imaging Library in an external Python
method to modify some images dynamically. However, when I try to load
an image:
import Image # from PIL - refers to PIL ImageFile module
image = Image.open("foo.png")
the method crashes because the Image module sees the Zope �ImageFile�
module instead of the one from PIL. The Zope module, of course, does
something completely different from the other one. This is on Debian
GNU/Linux 2.2 with Zope 2.2.2 (taken from the �unstable� distribution
and re-built -- the Zope in Debian 2.2 is older) and the PIL 1.0.1
from the distribution.
How do I get around this?
Anselm
--
Anselm Lingnau ......................... [EMAIL PROTECTED]
The only reward of virtue is virtue; the only way to have a friend is to be
one. -- Ralph Waldo Emerson
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )