Re: [Gimp-developer] Run-Mode Enums

2008-12-19 Thread Pablo Yaggi
Script-fu has no special status, it's just an extension to gimp In fact, Gimp-Python has been the standard recommended language interface for quite a while now. Will it be deprecated some time soon ? Gimp-python is packed as an optional package in mi distro (mandriva) besides you need python

Re: [Gimp-developer] Run-Mode Enums

2008-12-19 Thread Pablo Yaggi
Speculating, and taking no action, only makes you look foolish. Sorry, I didn't take actions because I never used python, now I notice, from your example, in python you can pass and argument naming it, very nice ... You were very clear, and my assumption of seeing script-fu as core instead a

[Gimp-developer] Run-Mode Enums

2008-12-18 Thread Pablo Yaggi
Hi, In the scrupt-fu browser under parameters most of the scripts even my own show as first parameter: run-mode INT32 Interactive,non-interactive but it can not be specified in call nor used inside the script as is was implicit declared. Why is it there ? what does it mean ? About Enums, I

Re: [Gimp-developer] Run-Mode Enums

2008-12-18 Thread Pablo Yaggi
in the browser help then it fails. On Thursday 18 December 2008 12:19:31 Rob Antonishen wrote: If you specify RUN-NONINTERACTIVE it will run without the dialog box appearing. On 12/18/08, Pablo Yaggi pya...@alsurdelsur.com wrote: Hi, In the scrupt-fu browser under parameters most

Re: [Gimp-developer] Run-Mode Enums

2008-12-18 Thread Pablo Yaggi
, any ideas ? I want to upload 3 plugins I made but it is not nice to pass options as numeric mode selector, sorry to annoy with this ... Bests, Pablo On Thursday 18 December 2008 17:43:24 saulgo...@flashingtwelve.brickfilms.com wrote: Quoting Pablo Yaggi pya...@alsurdelsur.com: But I try

Re: [Gimp-developer] SF-TOGGLE type?

2008-12-17 Thread Pablo Yaggi
-false)) always returns as true. -Rob A. On 12/17/08, Pablo Yaggi pya...@alsurdelsur.com wrote: Working with gimp 2.6 this segment of codes (if (= (car (gimp-drawable-is-rgb image)) FALSE) (gimp-image-convert-rgb image) ) gives me this error

[Gimp-developer] Register ENUMS

2008-12-17 Thread Pablo Yaggi
I can't find anywhere how to register enums in script-fu, is it possible ? I need to create a SF-ENUM with my own types, but first I need to define them according to documentation, Best Regards Pablo ___ Gimp-developer mailing list

[Gimp-developer] Strange Error

2008-12-17 Thread Pablo Yaggi
Working with gimp 2.6 this segment of codes (if (= (car (gimp-drawable-is-rgb image)) FALSE) (gimp-image-convert-rgb image) ) gives me this error Error while executing script-fu-mirror-table: Error: Procedure execution of

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

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

2008-12-16 Thread Pablo Yaggi
) (gimp-floating-sel-anchor floating-sel) ) (gimp-file-save 1 newimage newlayer /home/pablo/glam-out.jpg /home/pablo/glam-out.jpg) (gimp-context-pop) ) Best Regards, Pablo On Sunday 14 December 2008 16:36:10 saulgo...@flashingtwelve.brickfilms.com wrote: Quoting Pablo Yaggi pya

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

2008-12-16 Thread Pablo Yaggi
the actual zoom from inside the script? how ? Bests, Pablo On Tuesday 16 December 2008 15:45:15 saulgo...@flashingtwelve.brickfilms.com wrote: Quoting Pablo Yaggi pya...@alsurdelsur.com: Ok, I made it work, I just replaced newlayer for newimage in the gimp-edit-paste call and it worked

[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 ___

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

2008-12-14 Thread Pablo Yaggi
? Best Regards Pablo On Sunday 14 December 2008 13:50:25 Martin Nordholts wrote: 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

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