Re: [Gimp-developer] Using GIMP from my own program

2008-12-16 Thread David Gowers
Hi, On Wed, Dec 17, 2008 at 6:15 AM, Pablo Yaggi wrote: > Now I have my script running, It's a simple script that produces the > > table-mirror effect apple does, but is it possible to check whether > > the interface is available or not, I mean if gimp is running with -i mode > > (no interface).

Re: [Gimp-developer] Using GIMP from my own program

2008-12-16 Thread Pablo Yaggi
Now I have my script running, It's a simple script that produces the table-mirror effect apple does, but is it possible to check whether the interface is available or not, I mean if gimp is running with -i mode (no interface). Also, the script resizes the original image, is it possible to change t

Re: [Gimp-developer] Using GIMP from my own program

2008-12-16 Thread saulgoode
Quoting Pablo Yaggi : > Ok, I made it work, I just replaced newlayer for newimage in the > gimp-edit-paste call and it worked. > But pasting into the image should work, shouldn't ?, do I have > to set up a current layer or something ? There is no "paste-as-new-layer" function provided as such by

Re: [Gimp-developer] Using GIMP from my own program

2008-12-16 Thread Pablo Yaggi
Ok, I made it work, I just replaced newlayer for newimage in the gimp-edit-paste call and it worked. But pasting into the image should work, shouldn't ?, do I have to set up a current layer or something ? bests, Pablo On Tuesday 16 December 2008 12:52:49 Pablo Yaggi wrote: > Well, following all a

Re: [Gimp-developer] Using GIMP from my own program

2008-12-16 Thread Pablo Yaggi
Well, following all advices I decide to make the plugins I need for gimp, and use it in batch mode, this way plugins will be available for everybody. But my first attempt is not working fine, I'm coping/pasting the following code into the script-fu console, and I get a black image as glam-out.jpg w

Re: [Gimp-developer] Using GIMP from my own program

2008-12-14 Thread saulgoode
Quoting Pablo Yaggi : > So ..., I think a couple of things are not clear to me about gimp, > if plugins communicate with the core of gimp thought a pipe, I > should be able to create a plugin to do what i want, even > call other plugins, but could that plugin be executed from outside > the core ?,

Re: [Gimp-developer] Using GIMP from my own program

2008-12-14 Thread Pablo Yaggi
Ok, then I keep googling and I'll check gegl a little deep, thank's Martin, BR, Pablo On Sunday 14 December 2008 15:59:59 Martin Nordholts wrote: > Pablo Yaggi wrote: > > So ..., I think a couple of things are not clear to me about gimp, > > > > if plugins communicate with the core of gimp thought

Re: [Gimp-developer] Using GIMP from my own program

2008-12-14 Thread Martin Nordholts
Pablo Yaggi wrote: > > So ..., I think a couple of things are not clear to me about gimp, > > if plugins communicate with the core of gimp thought a pipe, I > > should be able to create a plugin to do what i want, even > > call other plugins, but could that plugin be executed from outside > > the c

Re: [Gimp-developer] Using GIMP from my own program

2008-12-14 Thread Pablo Yaggi
So ..., I think a couple of things are not clear to me about gimp, if plugins communicate with the core of gimp thought a pipe, I should be able to create a plugin to do what i want, even call other plugins, but could that plugin be executed from outside the core ?, even so it is necesary that gim

Re: [Gimp-developer] Using GIMP from my own program

2008-12-14 Thread Martin Nordholts
Pablo Yaggi wrote: > > But I don't want to call it from a gimp plugin, I want to call it from > > inside a simple c program, is it possible ? > > I mean using libgimp outside Gimp, just linking to it, if it so > > I suppose I need to make some initialization and I should > > need to create some typ

Re: [Gimp-developer] Using GIMP from my own program

2008-12-14 Thread Pablo Yaggi
But I don't want to call it from a gimp plugin, I want to call it from inside a simple c program, is it possible ? I mean using libgimp outside Gimp, just linking to it, if it so I suppose I need to make some initialization and I should need to create some type of data object and so, any example ?

Re: [Gimp-developer] Using GIMP from my own program

2008-12-14 Thread Martin Nordholts
Pablo Yaggi wrote: > > Hi, is it possible to use gimp from a C program ? > > I want to open an image use some plugin on it and > > save it. I know perl does something like that, but > > I couldn't find info about that, could somebody > > point me in a good direction ? > > Bests, > > Pablo > Hi! T

[Gimp-developer] Using GIMP from my own program

2008-12-14 Thread Pablo Yaggi
Hi, is it possible to use gimp from a C program ? I want to open an image use some plugin on it and save it. I know perl does something like that, but I couldn't find info about that, could somebody point me in a good direction ? Bests, Pablo ___ Gimp-de