scripting in Gimp

Lynn David Newton plug-discuss@lists.plug.phoenix.az.us
Sun, 16 Mar 2003 09:25:01 -0700


Greetings,

Does anyone out there have experience scripting in
Gimp?

As experienced Gimp users know, it can be difficult to
find what you are looking for in the Gimp HELP manual.
(And much is outright missing.)

A little searching enabled me to find the directory
/usr/share/gimp/1.2/scripts which has a bunch of
scripts written in what appears to be GUILE. Cool,
that's a major start, since I know emacs lisp pretty
well.

However, I don't know where to find documentation about
the forms and defun understood by Gimp or how to run
them Gimp, or from outside Gimp (see below). Does
anyone know?

My intention at this time is not to learn Everything
There Is To Know about Gimp scripting. I have a
specific job: I have 166 1600x1200 digital images I
took with my digital camera yesterday, and rather than
repeatedly loading them and scaling them to some small
size by hand, I'd rather use a script so I can say
something like

  for i in *.jpg
  do
    mygimpscript
  done

and they'll all be done. I need these for tomorrow.

Does anyone have a clue what to do? (Meanwhile, I'm
looking for an example in the existing scripts in the
scripts directory of the Gimp installation directory.)

-- 
Lynn David Newton
Phoenix, AZ