Hi! I would like zope to draw a png or jpg image displaying some lines, rectangles or circles, according to some data that I retrieve from a database. The display should NOT be "statistical", as provided with gdchart. It should allow me to place graphical elements wherever I want. Is there any way to create such images "on the fly" with zope? thanks, andreas
A few things spring to mind,the Python Image Library, gd, ImageMagick etc. ----- Original Message ----- From: "Andreas Prlic" <andreas@came.sbg.ac.at> To: <zope@zope.org> Sent: Wednesday, March 21, 2001 12:40 PM Subject: [Zope] zope & png images
Hi!
I would like zope to draw a png or jpg image displaying some lines, rectangles or circles, according to some data that I retrieve from a database. The display should NOT be "statistical", as provided with gdchart. It should allow me to place graphical elements wherever I want. Is there any way to create such images "on the fly" with zope?
thanks, andreas
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Any idea of which one is the best alternatives. Have you tried any of them for other things than Photo or gdChart? Peter ----- Original Message ----- From: "Phil Harris" <phil.harris@zope.co.uk> To: "Andreas Prlic" <andreas@came.sbg.ac.at>; <zope@zope.org> Sent: Wednesday, March 21, 2001 12:51 PM Subject: Re: [Zope] zope & png images
A few things spring to mind,the Python Image Library, gd, ImageMagick etc.
----- Original Message ----- From: "Andreas Prlic" <andreas@came.sbg.ac.at> To: <zope@zope.org> Sent: Wednesday, March 21, 2001 12:40 PM Subject: [Zope] zope & png images
Hi!
I would like zope to draw a png or jpg image displaying some lines, rectangles or circles, according to some data that I retrieve from a database. The display should NOT be "statistical", as provided with gdchart. It should allow me to place graphical elements wherever I want. Is there any way to create such images "on the fly" with zope?
thanks, andreas
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Best? That's a matter of opinion. PIL should theoretically be better for Python as it's written (mostly) in Python. However it has some strange ideas for fonts (uses a pretty strange scheme to my mind). GD is pretty old now (that could also mean that it's mature). Can be compiled to use TTF fonts as well as BDF etc.. It also has a Python interface. ImageMagick has a Python interface, this is the option I know least about. hth Phil ----- Original Message ----- From: "Peter Bengtsson" <peter@grenna.net> To: "Phil Harris" <phil.harris@zope.co.uk> Cc: <zope@zope.org> Sent: Wednesday, March 21, 2001 1:05 PM Subject: Re: [Zope] zope & png images
Any idea of which one is the best alternatives. Have you tried any of them for other things than Photo or gdChart?
Peter ----- Original Message ----- From: "Phil Harris" <phil.harris@zope.co.uk> To: "Andreas Prlic" <andreas@came.sbg.ac.at>; <zope@zope.org> Sent: Wednesday, March 21, 2001 12:51 PM Subject: Re: [Zope] zope & png images
A few things spring to mind,the Python Image Library, gd, ImageMagick etc.
----- Original Message ----- From: "Andreas Prlic" <andreas@came.sbg.ac.at> To: <zope@zope.org> Sent: Wednesday, March 21, 2001 12:40 PM Subject: [Zope] zope & png images
Hi!
I would like zope to draw a png or jpg image displaying some lines, rectangles or circles, according to some data that I retrieve from a database. The display should NOT be "statistical", as provided with gdchart. It should allow me to place graphical elements wherever I want. Is there any way to create such images "on the fly" with zope?
thanks, andreas
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Andreas Prlic -
Peter Bengtsson -
Phil Harris