Re: [Gimp-user] python-fu: open image as layer

2011-08-09 Thread Jerry Baker
Try gimp-file-load-layer or gimp-file-load-layers... that may be it... -Original Message- From: Serghei MIHAI sergiu.mi...@devlibre.net Reply-to: Serghei MIHAI serghei.mi...@devlibre.net To: gimp-user@lists.XCF.Berkeley.EDU Subject: [Gimp-user] python-fu: open image as layer Date: Wed, 10

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 can

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

2010-01-02 Thread Chris Mohler
On Sat, Jan 2, 2010 at 1:44 PM, Fab for...@gimpusers.com 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

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 file

Re: [Gimp-user] python plug-ins not getting loaded

2009-04-03 Thread norman
On Fri, 2009-04-03 at 12:53 -0700, Steven Howe wrote: Hello, I'm trying to use a python plugin I downloaded from the plugin site. I copied it to $HOME/.gimp-2.6/plug-ins; restarted gimp. NO JOY The plug-in browser does not show the script available. Looked over the pluginrc. Register

Re: [Gimp-user] Python with Gimp 2.6

2009-03-29 Thread Joao S. O. Bueno
On Sunday 29 March 2009, Carusoswi wrote: I have been browsing various websites and am intrigued by some of the Python scripts I see offered. However, to date, I don't seem to be able to get Python or any scripts working on my system. Right now, I'm running Gimp 2.6.6 on Windows XP. I am

Re: [Gimp-user] Python with Gimp 2.6

2009-03-29 Thread Jernej Simončič
On Sun, 29 Mar 2009 22:50:01 +0200 (CEST), Carusoswi wrote: I thought I had previously installed that plugin, and I just now unzipped the downloaded file and placed the contents, plubishr and a folder named libpub that contains six more python files and three folders. Pasting that folder

Re: [Gimp-user] Python with Gimp 2.6

2009-03-29 Thread Alec Burgess
Jernej Simon i (jernej.listso...@ena.si) wrote (in part) (on 2009-03-29 at 17:56): On Sun, 29 Mar 2009 22:50:01 +0200 (CEST), Carusoswi wrote: I thought I had previously installed that plugin, and I just now unzipped the downloaded file and placed the contents, plubishr and a folder

Re: [Gimp-user] python support (

2008-10-16 Thread Michael Schumacher
Von: Alchemie fotografiche [EMAIL PROTECTED] i just check and all packages have newer version but then some newer versions are incompatible. as example is required python 2.5 with last python 2.6 Pyobject refuse to install. It's not really surprising that a package for Python 2.6

Re: [Gimp-user] python support (

2008-10-15 Thread Alchemie foto\grafiche
I think all three of the packages have later versions since you created the ZIP so I got them. With Gimp closed I installed the two I was missing (pycairo-1.4.12-1, pygobject-2.14.1-1) and restarted GIMP. Python-Fu showed up this time :-) No reboots were necessary. i just check and

Re: [Gimp-user] python support

2008-10-14 Thread Alchemie foto\grafiche
I'm running gimp 2.6.1 on windows xp, I have a couple of python plugins in my ...\.gimp-2.6\plug-ins directory, yet they don't appear in the menu. Do I need to install some gimp python support, or what could the reason be? Thanks. Reason is that python support in Windows version of Gimp

Re: [Gimp-user] python support

2008-10-14 Thread Adonj Adonj
Thanks, that helped a lot! Date: Tue, 14 Oct 2008 15:48:28 + From: [EMAIL PROTECTED] To: gimp-user@lists.XCF.Berkeley.EDU Subject: Re: [Gimp-user] python supportI'm running gimp 2.6.1 on windows xp, I have a couple of python plugins in my ...\.gimp-2.6\plug-ins directory, yet

Re: [Gimp-user] python support

2008-10-14 Thread Alec Burgess
Alchemie foto\grafiche ([EMAIL PROTECTED]) wrote (in part) (on 2008-10-14 at 11:48): I'm running gimp 2.6.1 on windows xp, I have a couple of python plugins in my ...\.gimp-2.6\plug-ins directory, yet they don't appear in the menu. Do I need to install some gimp python support,

Re: [Gimp-user] Python error while loading gimp

2008-05-16 Thread Sven Neumann
Hi, On Fri, 2008-05-16 at 05:32 -0700, D.Jones (aka) Capnhud wrote: I receive the following error when I load gimp 2.4.5 with python installed. pythonw.exe The procedure entry point g_assertion_message could not be located in the dyanamic link library libglib-2.0.0-0.dll Your copy of

Re: [Gimp-user] python-fu script

2008-05-11 Thread Sven Neumann
Hi, On Sat, 2008-05-10 at 18:57 -0300, Joao S. O. Bueno wrote: When caling PDB stuff from a python plug-in, the run-mode parameter is always omited and assumed to be non-interactive That is a very bad design decision. How are you supposed to call a PDB function interactively then? Sven

Re: [Gimp-user] python-fu script

2008-05-10 Thread Sven Neumann
Hi, On Sat, 2008-05-10 at 17:00 +0300, peter kostov wrote: Procedure 'gimp-drawable-width' has been called with an invalid ID for argument 'drawable'. Most likely a plug-in is trying to work on a layer that doesn't exist any longer. And an 'RuntimeError: execution error' message on the

Re: [Gimp-user] python-fu script

2008-05-10 Thread Joao S. O. Bueno
On Sat 10 May 2008 12:45:09 pm Sven Neumann wrote: Hi, On Sat, 2008-05-10 at 17:00 +0300, peter kostov wrote: Procedure 'gimp-drawable-width' has been called with an invalid ID for argument 'drawable'. Most likely a plug-in is trying to work on a layer that doesn't exist any longer.

Re: [Gimp-user] python-fu script

2008-05-10 Thread Joao S. O. Bueno
On Sat 10 May 2008 11:00:57 am peter kostov wrote: Hello, I am trying to write a python script. The problematic part of it is: --- snip --- def run_resynthesize(image, drawable, vtileable=1, htileable=1): defalut_args = (0, 0, 0, 0, 0.50, 0.12, 30, 200) args =

Re: [Gimp-user] python-fu script

2008-05-10 Thread David Gowers
On Sun, May 11, 2008 at 7:27 AM, Joao S. O. Bueno [EMAIL PROTECTED] wrote: The drawable you are passing looks just right. But doesn't the resynthesizer PDB procedure take run-mode as its first parameter? When caling PDB stuff from a python plug-in, the run-mode parameter is always omited and

Re: [Gimp-user] Python Script-Fu

2008-01-12 Thread Owen
On Thu, 10 Jan 2008 08:36:09 -0500 J Figueroa G - Gmail [EMAIL PROTECTED] wrote: Interesting input of Javier Perez, a member of the Hispanic Language Community of GIMP - www.gimp.org.es A Python Script-Fu for creation of timetables custom; more information here:

Re: [Gimp-user] Python Script-Fu

2008-01-12 Thread David Gowers
Hi, On Jan 11, 2008 12:06 AM, J Figueroa G - Gmail [EMAIL PROTECTED] wrote: Interesting input of Javier Perez, a member of the Hispanic Language Community of GIMP - www.gimp.org.es A Python Script-Fu for creation of timetables custom; more information There is no such thing as a Python

Re: [Gimp-user] python-fu and menus.

2007-04-16 Thread Renan Birck Pinheiro
Em Seg, 2007-04-16 às 12:14 -0400, John R. Culleton escreveu: There are several python-fu scripts installed but they don't show up under the xtn menu or anyplace else I can find when running Gimp. Did you put them in ~/.gimp-2.3/plugins and chmod +x them?

Re: [Gimp-user] python-fu and menus.

2007-04-16 Thread John R. Culleton
On Monday 16 April 2007 16:28, Renan Birck Pinheiro wrote: Em Seg, 2007-04-16 às 12:14 -0400, John R. Culleton escreveu: There are several python-fu scripts installed but they don't show up under the xtn menu or anyplace else I can find when running Gimp. Did you put them in

Re: [Gimp-user] python-fu and menus.

2007-04-16 Thread Renan Birck Pinheiro
Em Seg, 2007-04-16 às 16:43 -0400, John R. Culleton escreveu: They were picked up as new plugins during the startup display but I still can't find them on a menu. Then I don't know. Strange issue. Since sphere.py shows up, it doesn't seem to be an issue with Python-fu interpreter. Do you

Re: [Gimp-user] python-fu and menus.

2007-04-16 Thread Andrew
Renan Birck Pinheiro wrote: Em Seg, 2007-04-16 às 16:43 -0400, John R. Culleton escreveu: They were picked up as new plugins during the startup display but I still can't find them on a menu. Then I don't know. Strange issue. I have the same problem, also Slackware 11, Gimp

Re: [Gimp-user] python-fu and menus.

2007-04-16 Thread Michael Schumacher
John R. Culleton wrote: The only entry on the python submenu is sphere.py, which was there when I started. They do not necessarily show up there - scripts and plug-ins can register themselves in any menu they want (and with 2.3, an increasing number of context menus as well) Thus the

Re: [Gimp-user] Python/Assigned shortcuts...

2006-12-14 Thread Sven Neumann
Hi, On Thu, 2006-12-14 at 10:54 -0500, jbaker wrote: 1) Using python, is there a way to call the Save keyboard shortcuts now function thats already built-in... 2) Is there a way (with python) to have Gimp read menurc/controllerrc again ? No and no. Sven

Re: [Gimp-user] python problem with gimp-2.3.12 / win32

2006-11-09 Thread Sven Neumann
Hi, On Thu, 2006-11-09 at 08:51 +0100, lode leroy wrote: I'm having problems with the python support in gimp-2.3.12... When I run the script Xtns-Python-Fu-Test-Sphere, it works perfectly when I close the generated window in between tests. When I leave the new window open, the python

Re: [Gimp-user] Python-fu

2006-06-26 Thread Joao S. O. Bueno Calligaris
On Sunday 25 June 2006 10:16 pm, Ben Conley wrote: I am trying to install the 'Inpaint' Python-Fu on GIMP 2.2.11 on Win32, but can't seem to do it. I have Python (the newest version; just downloaded it last week). Does anyone know how to get this to work? You won't. Python Fu doe snot work

Re: Re: [Gimp-user] Python-fu

2006-06-26 Thread Michael Schumacher
Von: Joao S. O. Bueno Calligaris [EMAIL PROTECTED] You can download and install gimp 2.3.9, pygtk, python-pango bindings, and then it should work. I want to add the you do not have to uninstall 2.2 in order to try GIMP 2.3 - actually it is recommended to keep 2.2 installed and use it for

Re: [Gimp-user] Python and Windows XP

2006-03-09 Thread Massimo
Michael Schumacher ha detto... It is part of the 2.3 installers. In order to be able to select it, it might be neccessary to have Python 2.4 and a matching pygtk installed. I have downloaded and installed these packages:

Re: [Gimp-user] Python and Windows XP

2006-02-23 Thread Paul Waldo
On Wednesday 22 February 2006 5:11 pm, Colin Brace wrote: On 2/21/06, Demetrius Jones [EMAIL PROTECTED] wrote: I was wondering if someone could point out how I am supposed to get the Gimp 2.3.6 to recognize that I have python installed on the computer so that I may be able to use py fu

Re: [Gimp-user] Python and Windows XP

2006-02-22 Thread Michael Schumacher
Von: Carol Spears [EMAIL PROTECTED] On Tue, Feb 21, 2006 at 12:56:24PM -0800, Demetrius Jones wrote: I was wondering if someone could point out how I am supposed to get the Gimp 2.3.6 to recognize that I have python installed on the computer so that I may be able to use py fu scripts

Re: [Gimp-user] Python and Windows XP

2006-02-22 Thread Colin Brace
On 2/21/06, Demetrius Jones [EMAIL PROTECTED] wrote: I was wondering if someone could point out how I am supposed to get the Gimp 2.3.6 to recognize that I have python installed on the computer so that I may be able to use py fu scripts I too am wondering. At my first attempt to compile

Re: [Gimp-user] Python and Windows XP

2006-02-22 Thread Matt Gushee
Colin Brace wrote: I too am wondering. At my first attempt to compile 2.3.7, make spat back that it couldn't find Python headers and the only way forward was to run it with --disable-python. I have gimp-python 2.2.8-2 installed. I thought maybe it needed a developer package, but aptitude

Re: [Gimp-user] Python and Windows XP

2006-02-21 Thread Carol Spears
On Tue, Feb 21, 2006 at 12:56:24PM -0800, Demetrius Jones wrote: I was wondering if someone could point out how I am supposed to get the Gimp 2.3.6 to recognize that I have python installed on the computer so that I may be able to use py fu scripts python loads modules.

Re: [Gimp-user] python, plugins and interfaces

2006-01-26 Thread Vincent Paeder
Thanks for your answer. I did have a look, but I'm not sure we mean the same thing. Anyway, I got a second problem which may be more compromising than the absence of user interface. That is, my tool stores pictures as gdk pixbufs, and I'd like to send them to an arbitrary gimp plugin to be

Re: [Gimp-user] python, plugins and interfaces

2006-01-26 Thread Carol Spears
On Thu, Jan 26, 2006 at 02:59:57PM +0100, Vincent Paeder wrote: Thanks for your answer. I did have a look, but I'm not sure we mean the same thing. Anyway, I got a second problem which may be more compromising than the absence of user interface. That is, my tool stores pictures as gdk pixbufs,

Re: [Gimp-user] python, plugins and interfaces

2006-01-26 Thread PAEDER Vincent
Hello again, ok sorry I had never realised that about top posting. I actually found a solution by trial and error. That is: - send the image as string through the socket - create an image containing a layer of the right size in gimp and get the pixel region and assign my string to it - and it

Re: [Gimp-user] python, plugins and interfaces

2006-01-23 Thread Carol Spears
On Mon, Jan 23, 2006 at 09:08:58PM +0100, PAEDER Vincent wrote: hello everybody, is it possible to open the plugin interface with a python command? My goal would be to run gimp in batch mode from the command line (from another python script actually) and still be able to configure the plugin

Re: [Gimp-user] python-fu grid plugin

2004-10-28 Thread Joao S. O. Bueno Calligaris
On Thursday 28 October 2004 16:19, Joao S. O. Bueno Calligaris wrote: On Thursday 28 October 2004 15:00, Fernando Sancho wrote: Hi I'm having problems with pdb.plug_in_grid. This function works ok if applied on an indexed image, but fails (only draws vertical lines) if applied on a RGB

Re: [Gimp-user] python-fu grid plugin

2004-10-28 Thread Sven Neumann
Hi, Joao S. O. Bueno Calligaris [EMAIL PROTECTED] writes: I managed to fix it. I attached a patch to bug #156750 - http://bugzilla.gnome.org/show_bug.cgi?id=156750 The plug-in was just ignoring the alpha parameter passed in the calls, letting in grabage in it's place. So, sometimes the