[Zope] can someone help me with PIL

Jonathan dev101 at magma.ca
Thu Mar 1 07:42:38 EST 2007


<snip>
----- Original Message ----- 
From: Allen Huang
To: Zope
Sent: Wednesday, February 28, 2007 10:13 PM
Subject: [Zope] can someone help me with PIL

Can some one show me two example with using PIL module in ZOPE

1. creating an image from inputed data an safe into zope
        for example: given x,y,r as a center coordinate and radius and draw 
a circle and save it as circle.jpg

2. read an exisiting image, edit it, and save it
        for example: read circle.jpg and add a letter A in the center of the 
circle and save it as circleA.jpg
</snip>


PIL independant of Zope, so you should be searching for 'python pil' 
assistance.  Here is a tuturial:

http://www.pythonware.com/library/pil/handbook/introduction.htm


Jonathan



More information about the Zope mailing list