Re: [Gimp-user] Batch merge of images?

2004-07-21 Thread Sven Neumann
Hi,

Chris Dunning <[EMAIL PROTECTED]> writes:

> I need to make a whole bunch of buttons for a website.  I could do
> them all manually, one by one, but it seems like there should be a
> faster way.  I would like to create a background for the buttons, then
> overlay text on them.  I could specify the text in a text file I
> suppose, or I could create the text images in a directory and the
> background image elsewhere (I do the same thing for many different
> websites)I'm open to suggestions.  Can anyone help?

You can write a script that reads a text file describing the buttons
you need and what background images to use for them. This script can
then let GIMP do all the work for you. Shouldn't be too difficult;
just choose the programming language you like most. You can choose
from SIOD (a scheme dialect used by Script-Fu), Perl and Python.


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch merge of images?

2004-07-21 Thread Sven Neumann
Hi,

Michael Schumacher <[EMAIL PROTECTED]> writes:

> > while in the development branch of TheGIMP, the gimp-console is recently
> > working, i have no idea how to use this to make big "batches" of images.
> 
> AFAIK, gimp-console is just another way of gimp -i
> It doesn't need gtk+, but this won't make any real difference, as all
> plug-ins still do.

That's right. gimp-console is basically only of interest for us
hackers since it shows that we managed to separate the GUI code from
the GIMP core. It might also be useful if you want to run a dedicated
GIMP server (like for example flamingtext.com). It doesn't behave in
any way different than 'gimp -i' or 'gimp --no-interface'.


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch merge of images?

2004-07-21 Thread Michael Schumacher
Carol Spears wrote:
while in the development branch of TheGIMP, the gimp-console is recently
working, i have no idea how to use this to make big "batches" of images.
AFAIK, gimp-console is just another way of gimp -i
It doesn't need gtk+, but this won't make any real difference, as all 
plug-ins still do.

HTH,
Michael
--
The GIMP > http://www.gimp.org| IRC: irc://irc.gimp.org/gimp
Sodipodi > http://sodipodi.sf.net | IRC: irc://irc.gimp.org/sodipodi
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Batch merge of images?

2004-07-20 Thread Carol Spears
hello,
On Tue, Jul 20, 2004 at 06:07:52PM -0500, Chris Dunning wrote:
> 
> I'm new to the GIMP and this list, so please forgive me if I ask old 
> questions.  I did actually search the archives before posting.  :)
> 
> I need to make a whole bunch of buttons for a website.  I could do them 
> all manually, one by one, but it seems like there should be a faster 
> way.  I would like to create a background for the buttons, then overlay 
> text on them.  I could specify the text in a text file I suppose, or I 
> could create the text images in a directory and the background image 
> elsewhere (I do the same thing for many different websites)I'm open 
> to suggestions.  Can anyone help?

while in the development branch of TheGIMP, the gimp-console is recently
working, i have no idea how to use this to make big "batches" of images.

the way that has always worked is to write a script for the gimp.  if
you are on windows, you will be limited to using script-fu.  if you are
using linux you also have perl or python to choose from.

the gimp parts of the scripts are fairly easy.  the same buttons or menu
entries you use can be found via your script of choice's console; check
in the toolbox under Xtns and then the script type for "Console" (for
example /Xtns/Script-Fu/Console).  The scripting consoles all
have a button called "Browser".  With that you can search for the call
(gimp event) that you need and hit "Ok" and the properly syntaxed call
will appear in the console.  the difficult part of this method is the
other stuff -- the script parts.  the looping and the reading of text
files (as you mentioned).  there is plenty of online help for script-fu,
perl and python online.  helpful urls can be found on www.gimp.org as
well as some examples and tutorials.

i have been using python to make gallery pages with the gimp who happily
resizes and comments my photo images.  my only problem is with the
pop-up progressbar for each and every image that gets saved.  i think
the gimp developers leave this there because they dont have faith in
their scripts and need this constant reminder that everything is
working.  hopefully they get over this soon and fix that.

if you should choose to write a script that makes a bunch of buttons for
your web pages, the gimp-developers list is a good place to ask
scripting questions.  

carol

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Batch merge of images?

2004-07-20 Thread Chris Dunning
Hello list!
I'm new to the GIMP and this list, so please forgive me if I ask old 
questions.  I did actually search the archives before posting.  :)

I need to make a whole bunch of buttons for a website.  I could do them 
all manually, one by one, but it seems like there should be a faster 
way.  I would like to create a background for the buttons, then overlay 
text on them.  I could specify the text in a text file I suppose, or I 
could create the text images in a directory and the background image 
elsewhere (I do the same thing for many different websites)I'm open 
to suggestions.  Can anyone help?
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user