On Sun, 2009-05-17 at 21:18 +0300, Ioan Calin Borcoman wrote:

> I was thinking of trying a client-server system for this. The gimp
> would start a server when it loads the plugins and the button window
> would be a separate app that sends whatever command the server plugin
> accepts. The server would take the command and apply it on the current
> image (or, if there is no way to determine the active image, to
> gimp.image_list()[0]). Is such a thing possible?

Sure, have a look at the script-fu-server plug-in. It's sole purpose is
to illustrate how you can have a plug-in running in GIMP that exports
the PDB functionality to other processes over whatever protocol you'd
like to use.


Gimp-developer mailing list

Reply via email to