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 ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
<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
participants (2)
-
Allen Huang -
Jonathan