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, amount, threshold' from the example script (definition & function call) and from the bash command. So something else must be wrong. Wolfgang On Sunday 22 March 2009 22:02:55 you wrote: > Hi, > > On Sun, 2009-03-22 at 20:57 +0100, [email protected] 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 (not (null? filelist)) > > (let* ((filename (car filelist)) > > (image (car (gimp-file-load RUN-NONINTERACTIVE > > filename filename))) > > (drawable (car (gimp-image-get-active-layer image)))) > > (gimp-levels-stretch RUN-NONINTERACTIVE > > image drawable) > > If you look more closely at the Procedure Browser, you will notice that > gimp-levels-stretch only takes a single parameter, not three. > > > Sven _______________________________________________________________________ Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal geschützt? Jetzt absichern: https://homebanking.web.de/[email protected] _______________________________________________ Gimp-user mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
