Re: PDB named and default parameters (was Re: [Gimp-developer] TheMark Shuttleworth offer)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
        E.g.

          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. ;-)

Regards,
Dov

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" <sven@xxxxxxxx>
> To: "Kevin Myers" <KevinMyers@xxxxxxxxxxxxx>
> Cc: <gimp-developer@xxxxxxxxxxxxxxxxxxxxxx>
> 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" <WHMyers@xxxxxxxxxxxx> 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
> > Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
> > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
> >
> 
> _______________________________________________
> Gimp-developer mailing list
> Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux