<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face=Arial color=#000000 
size=2>Hi</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>I'm trying to get the PIL(last version on python 
2.3)&nbsp; working with Zope, but it seems that it's not working.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I use the code:</FONT></DIV>
<DIV>&nbsp;file = StringIO.StringIO(data)<BR>&nbsp;im = 
Image.open(file)<BR>&nbsp;im.show()</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;where data is datafrom a blob in a db. This code is working outside 
Zope, but at once when i try to make it a product in Zope, I get this 
error:</DIV>
<DIV>&nbsp;</DIV>
<DIV>IOError: cannot identify image file </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Does anyone know what's wrong or what to do to make this work?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for all help!</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards</DIV>
<DIV>Tor Oskar Wilhelmsen</DIV>
<DIV>&nbsp;</DIV></FONT></DIV></BODY></HTML>