[Zope] ImplicitAcquirerWrapper
   
    Geir Bækholt
     
    Geir Bækholt <geirh@funcom.com>
       
    Thu, 6 Jun 2002 11:22:48 +0200
    
    
  
on or about, Thursday, June 06, 2002, we have reason to believe that
Antwan Reijnen wrote something along the lines of :
AR> Hi all,
AR> I encountered a problem when trying to generate thumbnails from large i=
mages. My code is based on a chunk from zopelabs:
AR> def makeThumbnail(self, imagename, width, height):
AR>    # get the original large image
AR>    oriImage =3D getattr(self, imagename)
   
AR>    # convert it to a file =20
AR>    oriFile =3D cStringIO.StringIO(oriImage.data)
doing
oriFile =3D cStringIO.StringIO(str(oriImage.data))
worked for me..
:)
for better explanations , follow the archived thread at:
http://mail.python.org/pipermail/python-list/2001-July/053238.html
- which addresses this specific problem
--=20
Geir B=E6kholt                      web-developer
geirh@funcom.com             funcom oslo | webdev-team