[Gimp-user] scripting

2009-12-30 Thread Elwin Estle
Is it in the plan to remove the scheme scripting in Gimp and go to all Python scripting?  Is there much of a difference between what can be done with either?  I have tried a couple of times to learn Python, but I am an old fogy and keep coming up against a wall whenever I try to get my head

Re: [Gimp-user] scripting

2009-12-30 Thread Patrick Horgan
Elwin Estle wrote: #1 is Core Python Programming by Wesley Chun. He covers everything. There are gotchas in there that you'd have to program in python for years to learn, all in a nice clear, well organized, progressive, understandable format. Good reference material in the back too.

Re: [Gimp-user] scripting

2009-12-30 Thread Colin J. Williams
On 30-Dec-09 10:42 AM, Elwin Estle wrote: Is it in the plan to remove the scheme scripting in Gimp and go to all Python scripting? Is there much of a difference between what can be done with either? I have tried a couple of times to learn Python, but I am an old fogy

[Gimp-user] Scripting - How to save JPEG with thumbnails

2007-05-07 Thread Guillaume Bonillo
Hi, I am new to scheme scripting. What i want to do is open pictures from a directory and apply a very simple macro. I can do it manually with the following steps : - open image the_image.jpg. - save as the_image_with_thumbnail.jpg - choose options : q = 0.85 , progressive, and

Re: [Gimp-user] Scripting - How to save JPEG with thumbnails

2007-05-07 Thread Guillaume Bonillo
Guillaume Bonillo a écrit : Paul Surgeon a écrit : On Monday 07 May 2007 11:37, Guillaume Bonillo wrote: Hi, I am new to scheme scripting. What i want to do is open pictures from a directory and apply a very simple macro. I can do it manually with the following steps : - open image

Re: [Gimp-user] Scripting - How to save JPEG with thumbnails

2007-05-07 Thread Sven Neumann
Hi, On Mon, 2007-05-07 at 11:37 +0200, Guillaume Bonillo wrote: I am new to scheme scripting. What i want to do is open pictures from a directory and apply a very simple macro. I can do it manually with the following steps : - open image the_image.jpg. - save as

[Gimp-user] Scripting questions...

2006-11-26 Thread Jerry Baker
Using python, I'm trying to find the color that is used on a layer. The layer has an alpha channel and it only uses 1 color on the layer. The problem is, I don't know where the colored pixels are. It may only be one pixel anywhere on the layer, or the entire layer may be filled. I also need

[Gimp-user] Scripting font hinting

2003-09-16 Thread John Green
I've just moved some of my 1.2 scripts to 1.3 and I notice that text layers are created with font hinting toggled on. Looking at DB browser, hinting is not an option in gimp-text-fontname so how can this be set from a script? -- John Green ___

Re: [Gimp-user] Scripting font hinting

2003-09-16 Thread Sven Neumann
Hi, John Green [EMAIL PROTECTED] writes: I've just moved some of my 1.2 scripts to 1.3 and I notice that text layers are created with font hinting toggled on. Looking at DB browser, hinting is not an option in gimp-text-fontname so how can this be set from a script? It cannot be set since

Re: [Gimp-user] Scripting font hinting

2003-09-16 Thread John Green
On Tue, Sep 16, 2003 at 03:19:42PM +0200, Sven Neumann wrote: It cannot be set since you are using the compatibility API. There are no new PDB calls for the text tool yet but I plan to add them when the time has come. If you absolutely need to turn off hinting, you will have to wait for the

Re: [Gimp-user] Scripting for resize

2003-07-16 Thread Sven Neumann
Hi, Paulo J Matos [EMAIL PROTECTED] writes: I'm just new to script-fu and gimp. I was not aware scheme is used for scripting in gimp. I loved that. :D Anyway, I've read the script-fu part of the gimp manual. I have a directory tree with about 1000 images and I'd like to resize

Re: [Gimp-user] Scripting for resize

2003-07-16 Thread pcg
On Wed, Jul 16, 2003 at 06:14:53PM +0200, Sven Neumann [EMAIL PROTECTED] wrote: I'm just new to script-fu and gimp. I was not aware scheme is used for scripting in gimp. I loved that. :D Anyway, I've read the script-fu part of the gimp manual. I have a directory tree with about 1000