I am actually trying to control the GIMP through Java, which is my interest in creating a module. But if what you say is true -- you cannot add arbitrary modules to the GIMP at this time -- then I'll hard-wire some code into the app for now. But if I can interface to the GIMP in a portable, modular way, I'll do that -- I just haven't discovered the "right" way to do that yet. If anyone has any suggestions, let me know.
Thanks, Michael Terry Everyday Computing Lab Graphics, Visualization, & Usability Center Georgia Tech [EMAIL PROTECTED] > Message: 3 > Date: Sun, 30 Dec 2001 15:56:46 +0100 > From: Simon Budig <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [Gimp-developer] Module or plug-in for embedded control of GIMP? > > Michael Andrew Terry ([EMAIL PROTECTED]) wrote: > > I'm trying to understand how to control the GIMP through plain old C code. > > I have tried doing this with a module, but have been unsuccessful. The > > module loads successfully, but segfaults when I attempt to create an image > > and add a layer. > > > > What is the proper way to take control of the GIMP? Through a module or a > > plug-in? I read a prior post in 2000 saying you have to do it with a > > combination of plug-in and module, but it's not yet clear to me how to > > accomplish this. Any example source code would be welcome. > > It is not really clear to me what you try to do. > Do you want to add functionality to the Gim? If so, why dont > you use a Plugin? Sample code for plugins is available > within lots of plugins that come with the default > distribution of Gimp. > > Currently you cannot add arbitrary modules (dynamically loaded > code) to the gimp. There are certain places where you can > add own modules (own colorselector) but this is more experimental. > > Hope this helps, > Simon > -- > [EMAIL PROTECTED] http://www.home.unix-ag.org/simon/ _______________________________________________ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer