Re: Writing and de-bugging Script-Fu.

2000-02-08 Thread Marc Lehmann

On Mon, Feb 07, 2000 at 02:25:39PM -, Simon Wood <[EMAIL PROTECTED]> wrote:
> Failing that can anyone see what is wrong?

apart from what others have said, the program scm2scm that comes with
gimp-1.1 (you need perl) translates _some_ of the calls to the new syntax.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: Writing and de-bugging Script-Fu.

2000-02-08 Thread Alex Harford

On Mon, 7 Feb 2000, Simon Wood wrote:

> 
> Failing that can anyone see what is wrong?
> 
> http://www.mungewell.ndirect.co.uk/fujidx10/fuji-anim.scm
> 

Simon, I don't have time to look at your script, but some functions have
changed in script-fu for Gimp 1.1/1.2.  Open the Procedural database, and
look at the calls made around where your script fails.

--
Alex HarfordAlcohol and calculus don't mix.
http://www.dowco.com/~alexh Don't drink and derive.
[EMAIL PROTECTED] Tel: (604) 225-0601



Writing and de-bugging Script-Fu.

2000-02-07 Thread Simon Wood

Hi all,
A while ago I wrote a little script to convert the 'continuous' output from
my Fujifilm DX-10 (1024x768 image which is a 3x3 matrix of smaller shots
taken about 1/5 second apart) to a layered GIF animation.

However I now find that with the latest GIMP for Windows
(gimp-setup-2201.zip - based on 1.1.15) it no longer works. Does nothing
at all, doesn't even generate the second image :-(

Is there a method for single stepping a script (so you can follow it's
progress) or outputting a text string (i.e print "stage 1 complete") to the
screen?

Failing that can anyone see what is wrong?

http://www.mungewell.ndirect.co.uk/fujidx10/fuji-anim.scm

Simon Wood