Re: [Gimp-user] 'gimp-levels-stretch' in batch mode

2009-03-23 Thread Sven Neumann
Hi, On Sun, 2009-03-22 at 22:15 +0100, wwa...@web.de wrote: > > If you look more closely at the Procedure Browser, you will notice > > that gimp-levels-stretch only takes a single parameter, not three. > > However, I realized that 'gimp-levels-stretch' only takes a filename > as a parameter, so

Re: [Gimp-user] 'gimp-levels-stretch' in batch mode

2009-03-22 Thread wwaser
Thanks for the quick reply, > If you look more closely at the Procedure Browser, you will notice > that gimp-levels-stretch only takes a single parameter, not three. However, I realized that 'gimp-levels-stretch' only takes a filename as a parameter, so I removed the additional ones: 'radius, am

Re: [Gimp-user] 'gimp-levels-stretch' in batch mode

2009-03-22 Thread Sven Neumann
Hi, On Sun, 2009-03-22 at 20:57 +0100, wwa...@web.de wrote: > I also found the function 'gimp-levels-stretch' in the Script-Fu > Procedure Browser and tried to adapt the example script: > > - > (define (stretch-levels pattern) > (let* ((filelist (cadr (file-glob pattern 1 > (while

[Gimp-user] 'gimp-levels-stretch' in batch mode

2009-03-22 Thread wwaser
Hi, I have used ImageMagick for batch mode treatment of images but would (have to) use gimp for certain functions. Being completely new to the gimp script-fu, I copied an example from the intertubes - (define (batch-unsharp-mask pattern radius