I'm trying to create a product that will dynamically create pictures by calling Gimp from Zope. Eventually the code will run on a Linux server, but for now I'm on a Windows box. Has anyone ever done this? If so, any pointers on how to go about calling Gimp from a Zope product? Thanks, Anders Schneiderman
Anders, Is there a specific reason that you're using Gimp? PIL and DevIL are two other libs that I have ran across for dynamic image generation (and PyOpenGL of course). Sounds neat. Joseph On Wed, 09 Oct 2002 13:16:46 -0400, Anders Schneiderman wrote
I'm trying to create a product that will dynamically create pictures by calling Gimp from Zope. Eventually the code will run on a Linux server, but for now I'm on a Windows box. Has anyone ever done this? If so, any pointers on how to go about calling Gimp from a Zope product?
Thanks, Anders Schneiderman
_______________________________________________ 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 )
PCL Internet WebMail (http://www.pclnet.net)
On Wed, Oct 09, 2002 at 01:21:12PM -0500, Joseph Griffin wrote:
Anders, Is there a specific reason that you're using Gimp? PIL and DevIL are two other libs that I have ran across for dynamic image generation (and PyOpenGL of course). Sounds neat. Joseph
Also renderPM from reportlab. might be good if your images are more vector than pixmap. -- Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
On Wed, 9 Oct 2002, Anders Schneiderman wrote:
I'm trying to create a product that will dynamically create pictures by calling Gimp from Zope. Might be off topic here, but did you ever tried to get any reasonable result from Gimp in batch mode. Once I tried it I found it nearly undocumented and the examples of these snippets of documentation did not work.
So I suggest to try this step before thinking about integration into Zope I would try all thinks from command line before. (In case you managed to do this I would be interested in a little howto - perhaps in private because it is off-topic here.) Kind regards Andreas.
On Wednesday 09 October 2002 19:16, Anders Schneiderman wrote:
I'm trying to create a product that will dynamically create pictures by calling Gimp from Zope. Huh? Why you whould not like to use ImageMagick or even PIL? Is it overkill to use GIMP and I don't think you get the result in the right way. There is dozen of other great (and much faster!) graphical libraries which works fine with images, text and layers and even trace to SVG.
-- Regards, Bogdan 2B OR NOT 2B == FF
On Thu, Oct 10, 2002 at 10:29:08AM +0200, Bo M. Maryniuck wrote:
On Wednesday 09 October 2002 19:16, Anders Schneiderman wrote:
I'm trying to create a product that will dynamically create pictures by calling Gimp from Zope. Huh? Why you whould not like to use ImageMagick or even PIL? Is it overkill to use GIMP and I don't think you get the result in the right way. There is dozen of other great (and much faster!) graphical libraries which works fine with images, text and layers and even trace to SVG.
No, he wants to use things that are available through script-fu. Things like the cool metal, or chrome logo, etc. These would be very painful to do using things like ImageMagick or PIL. Now, the comment Andreas made about its being poorly documented, and or buggy, is appropriate. But, for what this guy wants to do, it does appear to be an appropriate tool. Unfortunately, I have not tried to do this kind of thing, so I cannot say that it is easy, or even doable. It is possible that the folks at cooltext.com will be willing to talk about how they did it, this appears to be exactly what is desired. I wonder about gimp-python http://www.daa.com.au/~james/pygimp/ All the documentation is about plug-ins, but I think from quick overview that it can be used to deliver a drawable. If so, it would be good fodder for an External Method. Jim Penny
-- Regards, Bogdan
2B OR NOT 2B == FF
_______________________________________________ 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 (6)
-
Anders Schneiderman -
Andreas Tille -
Bo M. Maryniuck -
Jim Penny -
Joseph Griffin -
Paul Winkler