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 (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


_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to