[Gimp-user] python script for rectangle selection

2010-01-04 Thread Fab
Hi, it works using the GUI now. I forgot to change the mode to executable. Now, I will try to run it from the console... Fab >On Sat, 2010-01-02 at 18:50 +0100, Fab wrote: >> Hi, >> >> I am new to gimp's scripting and would like to automate the rectangle >> selection tool by defining the posit

Re: [Gimp-user] python script for rectangle selection

2010-01-02 Thread David Hodson
On Sat, 2010-01-02 at 18:50 +0100, Fab wrote: > Hi, > > I am new to gimp's scripting and would like to automate the rectangle > selection tool by defining the position and size using a script. > Afterwards, I would like to extract the selection, 'paste as new image' and > save the image as a png f

Re: [Gimp-user] python script for rectangle selection

2010-01-02 Thread Chris Mohler
On Sat, Jan 2, 2010 at 1:44 PM, Fab wrote: > Hi to both, > > thanks for your help and thanks for the script! I tried the attached python > script > by using execfile("script.py") from the python-fu console. Unfortunately gimp > (2.6.7 on ubuntu) crashed. Do you have a hint, what I am doing wrong!?

[Gimp-user] python script for rectangle selection

2010-01-02 Thread Fab
Hi to both, thanks for your help and thanks for the script! I tried the attached python script by using execfile("script.py") from the python-fu console. Unfortunately gimp (2.6.7 on ubuntu) crashed. Do you have a hint, what I am doing wrong!? Thanks! Fab >On Sat, Jan 2, 2010 at 11:50 AM, Fab wr

Re: [Gimp-user] python script for rectangle selection

2010-01-02 Thread Chris Mohler
On Sat, Jan 2, 2010 at 11:50 AM, Fab wrote: > I am new to gimp's scripting and would like to automate the rectangle > selection tool by defining the position and size using a script. > Afterwards, I would like to extract the selection, 'paste as new image' and > save the image as a png file withou

Re: [Gimp-user] python script for rectangle selection

2010-01-02 Thread Norman Silverstone
> I am new to gimp's scripting and would like to automate the rectangle > selection tool by defining the position and size using a script. > Afterwards, I would like to extract the selection, 'paste as new image' and > save the image as a png file without compression. > > It would be nice, if you

[Gimp-user] python script for rectangle selection

2010-01-02 Thread Fab
Hi, I am new to gimp's scripting and would like to automate the rectangle selection tool by defining the position and size using a script. Afterwards, I would like to extract the selection, 'paste as new image' and save the image as a png file without compression. It would be nice, if you can giv