Re: [Gimp-user] Script Problem

2005-02-23 Thread Graham Smith
After correctly indenting the script and think about what you suggested I realized the mistake. You were spot-on right. There was a layer further down the script that was modified before being added to the image. The fix was to simply move the layer addition high up the script. It has caused a

Re: [Gimp-user] Script Problem

2005-02-23 Thread Graham Smith
Ok, for your reading pleasure I have completely fixed the indentation :o) to what I think is right. It uses hard tabs so should look fine in any text editor. And I have upgraded it to use the new context api (as best as I can) so that it no longer generates any deprecated warnings. You can find

Re: [Gimp-user] Script Problem

2005-02-23 Thread Graham Smith
The full script (with better indentation and no line wrapping etc) is at: http://www.crazysquirrel.com/software/gimp/aqua_gimp_2_0.scm I didn't want to paste the whole thing as it is quite long but I've pasted it below Thanks Graham ;###

Re: [Gimp-user] Script Problem

2005-02-22 Thread Sven Neumann
Hi, Graham Smith <[EMAIL PROTECTED]> writes: > I've got a bit of a problem with a script that I make fairly extensive > use of to create buttons for websites. It started out life as a > GIMP-1.1 script and I upgraded it to work with GIMP-2.0 but have > recently upgraded again to GIMP-2.2. Unfortu

Re: [Gimp-user] Script Problem

2005-02-22 Thread Sven Neumann
Hi, Graham Smith <[EMAIL PROTECTED]> writes: > --pdb-compat-mode on : made no difference It shouldn't since that's the default. But I wanted to make sure. I also checked the code and the old enums are always available. The command-line option only affects deprecated function names. > --pdb-comp

Re: [Gimp-user] Script Problem

2005-02-22 Thread Graham Smith
--pdb-compat-mode on : made no difference --pdb-compat-mode warn : produced the following error messages on std out (between #) GIMP: WARNING: Plug-In "script-fu" (/usr/lib/gimp/2.0/plug-ins/script-fu) called deprecated proc

Re: [Gimp-user] Script Problem

2005-02-22 Thread Sven Neumann
Hi, Graham Smith <[EMAIL PROTECTED]> writes: > I've got a bit of a problem with a script that I make fairly > extensive use of to create buttons for websites. It started out life > as a GIMP-1.1 script and I upgraded it to work with GIMP-2.0 but > have recently upgraded again to GIMP-2.2. Unfortu

[Gimp-user] Script Problem

2005-02-22 Thread Graham Smith
Hi, I've got a bit of a problem with a script that I make fairly extensive use of to create buttons for websites. It started out life as a GIMP-1.1 script and I upgraded it to work with GIMP-2.0 but have recently upgraded again to GIMP-2.2. Unfortunately this has broken the script (right when I