michael chang wrote:
> On 9/10/05, Leeuw van der, Tim <[EMAIL PROTECTED]> wrote:
>> I have a lot of images that need to be scaled. I wanted to write a
>> (batch) script for that; I found a sample online of how to write
>> batch-scripts.
> This will be very confusing, since you're going to have to ensure the
> script works perfectly on first run (since practically no useful 
> debugging (it's very cryptic) exists for Script-Fu, although what it 
> has is slightly more than e.g. Python-Fu or Perl-Fu). 

Not necessarily, you can easily have the script executed interactively
and check that it does what you want.

> Notably, you have to perform a loop on a glob of the images you're going to
> modify, and then open each, resize, determine file name (opt),
> rename(opt, relies on previous), (re)save.   Unless someone has a
> better way. :)

http://www.gimp.org/tutorials/Basic_Batch/ has examples how this is done.

For the basic manipulations, there's also the Batch Processor plug-in,


The GIMP > http://www.gimp.org      | IRC: irc://irc.gimp.org/gimp
    Wiki > http://wiki.gimp.org     | .de: http://gimpforum.de
Plug-ins > http://registry.gimp.org |
Gimp-user mailing list

Reply via email to