[Zope] Create image with PIL in Zope

Bruno Miguel Silva bruno at techwave.org
Fri Oct 1 10:28:53 EDT 2004


I tried and get the same errors.


On Friday 01 October 2004 15:20, Vital Lobachevsky wrote:
> Bruno Miguel Silva wrote:
> > Hi,
> >     I have a small script that generate a image with some text, in python
> > with Python Imagin Library (PIL).
> >    The problem is, i want a security image in an html page in zope, so i
> > started to put the code in a External module, and now i have all kind of
> > problems with that script.
> >    When i use the "ImageFont.load('pathToFont.pil')", that causes an
> > Error Type: IOError
> > Error Value: cannot find glyph data file
> >    i don' understand, because i have the ".pbm", and it works in command
> > line.
>
> Try to put *.pbm and *.pil files into Zope's Extensions dir (where your
> External module lives).


More information about the Zope mailing list