One of the ideas that I believe Sven raised on irc, was that there
should be a minimal and trivial interface to the PDB that is not
based on any particular language but just consists of:
gimp_foo -bar 3 -baz yellow
Having such an interface to the PDB has several advantages:
1. It would take care of the quoting problems from the shell.
gimp -nodisplay -cmd "my_logo -text foo -bg_color yellow" \
-cmd "save_image -img 1 -filename foo.png"
2. We could easily do recording and save into this format.
3. The format could easily be translated into script-fu,
python, guile, etc.
Possibly I misunderstood Sven though, in which I take all the blame. ;-)
On Sat, Mar 20, 2004 at 08:09:56AM -0600, Kevin Myers wrote:
> As Tor reminded me later, --batch doesn't work in gimp 1.2 under Windows, so
> that was the reason I couldn't use it.
> ----- Original Message -----
> From: "Sven Neumann" <[EMAIL PROTECTED]>
> To: "Kevin Myers" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, March 20, 2004 6:00 AM
> Subject: Re: PDB named and default parameters (was Re: [Gimp-developer]
> TheMark Shuttleworth offer)
> > Hi,
> > "Kevin Myers" <[EMAIL PROTECTED]> writes:
> > > Hmmm, I wonder why using the --batch option wasn't suggested when I
> > > ran into the problems that I mentioned previously...
> > I guess that people assumed you knew about it. After all, googling for
> > "gimp batch" leads you directly to Adrian's nice batch tutorial which
> > is a bit outdated but still valid in the important parts:
> > http://adrian.gimp.org/batch/batch.html
> > Sven
> > _______________________________________________
> > Gimp-developer mailing list
> > [EMAIL PROTECTED]
> > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
> Gimp-developer mailing list
> [EMAIL PROTECTED]
Gimp-developer mailing list