Re: [Zope] can someone help me with PIL

2007-03-01 Thread Jonathan

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

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] can someone help me with PIL

2007-02-28 Thread Allen Huang
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___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )